Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: tests/exception_test/nacl.scons

Issue 12256018: [MIPS] Add remaining parts for building tests for MIPS (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Minor cleanup. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/exception_test/exception_test.c ('k') | tests/stack_alignment/stack_alignment_asm_test.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 Import('env') 6 Import('env')
7 7
8 if not env.AllowInlineAssembly(): 8 if not env.AllowInlineAssembly():
9 Return() 9 Return()
10 10
(...skipping 23 matching lines...) Expand all
34 34
35 for subtest in ('test_bad_handler', 35 for subtest in ('test_bad_handler',
36 'test_stack_outside_sandbox', 36 'test_stack_outside_sandbox',
37 'test_stack_in_rwdata', 37 'test_stack_in_rwdata',
38 'test_stack_in_rodata', 38 'test_stack_in_rodata',
39 'test_stack_in_code', 39 'test_stack_in_code',
40 'test_crash_in_syscall'): 40 'test_crash_in_syscall'):
41 node = env.CommandSelLdrTestNacl( 41 node = env.CommandSelLdrTestNacl(
42 'exception_%s.out' % subtest, 42 'exception_%s.out' % subtest,
43 exception_crash_test, [subtest], **test_args) 43 exception_crash_test, [subtest], **test_args)
44 # test_bad_handler hangs in ARM QEMU. 44 # test_bad_handler hangs on non-whole-machine QEMU.
45 subtest_is_broken = (subtest == 'test_bad_handler' and 45 subtest_is_broken = (subtest == 'test_bad_handler' and env.UsingEmulator())
46 env.Bit('target_arm') and env.UsingEmulator())
47 env.AddNodeToTestSuite( 46 env.AddNodeToTestSuite(
48 node, ['small_tests', 'exception_tests'], 47 node, ['small_tests', 'exception_tests'],
49 'run_exception_%s' % subtest, 48 'run_exception_%s' % subtest,
50 is_broken=subtest_is_broken) 49 is_broken=subtest_is_broken)
51 50
52 51
53 exceptions_disabled_test = env.ComponentProgram( 52 exceptions_disabled_test = env.ComponentProgram(
54 'exceptions_disabled_test', 53 'exceptions_disabled_test',
55 ['exceptions_disabled_test.c'], 54 ['exceptions_disabled_test.c'],
56 EXTRA_LIBS=['${NONIRT_LIBS}']) 55 EXTRA_LIBS=['${NONIRT_LIBS}'])
57 node = env.CommandSelLdrTestNacl( 56 node = env.CommandSelLdrTestNacl(
58 'exceptions_disabled_test.out', 57 'exceptions_disabled_test.out',
59 exceptions_disabled_test, [], 58 exceptions_disabled_test, [],
60 declares_exit_status=True) 59 declares_exit_status=True)
61 env.AddNodeToTestSuite( 60 env.AddNodeToTestSuite(
62 node, ['small_tests', 'exception_tests'], 61 node, ['small_tests', 'exception_tests'],
63 'run_exceptions_disabled_test') 62 'run_exceptions_disabled_test')
OLDNEW
« no previous file with comments | « tests/exception_test/exception_test.c ('k') | tests/stack_alignment/stack_alignment_asm_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698