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

Side by Side Diff: tests/trusted_crash/crash_in_syscall/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/toolchain/stack_frame.cc ('k') | tools/command_tester.py » ('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 2012 The Native Client Authors. All rights reserved. 2 # Copyright 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 8
9 test_prog = env.ComponentProgram('test_guest', ['test_guest.c'], 9 test_prog = env.ComponentProgram('test_guest', ['test_guest.c'],
10 EXTRA_LIBS=['${NONIRT_LIBS}']) 10 EXTRA_LIBS=['${NONIRT_LIBS}'])
(...skipping 30 matching lines...) Expand all
41 for name, arg in crash_types: 41 for name, arg in crash_types:
42 node = env.CommandTest( 42 node = env.CommandTest(
43 '%s.out' % name, env.AddBootstrap(runner, [test_prog, arg]), 43 '%s.out' % name, env.AddBootstrap(runner, [test_prog, arg]),
44 declares_exit_status=True) 44 declares_exit_status=True)
45 # The test is disabled under code coverage because NaClAbort() does 45 # The test is disabled under code coverage because NaClAbort() does
46 # not call abort() in coverage mode, so the crash test does not pass. 46 # not call abort() in coverage mode, so the crash test does not pass.
47 env.AddNodeToTestSuite( 47 env.AddNodeToTestSuite(
48 node, ['small_tests'], name, 48 node, ['small_tests'], name,
49 is_broken=(not env.Bit('nacl_static_link') or 49 is_broken=(not env.Bit('nacl_static_link') or
50 trusted_env.Bit('coverage_enabled') or 50 trusted_env.Bit('coverage_enabled') or
51 # qemu-arm hangs on the following test: 51 # qemu-user hangs on the following test:
52 (name == 'run_jump_to_zero_in_syscall_test' and 52 (name == 'run_jump_to_zero_in_syscall_test' and
53 env.Bit('target_arm') and
54 env.UsingEmulator()))) 53 env.UsingEmulator())))
OLDNEW
« no previous file with comments | « tests/toolchain/stack_frame.cc ('k') | tools/command_tester.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698