| OLD | NEW |
| 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 Loading... |
| 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()))) |
| OLD | NEW |