OLD | NEW |
---|---|
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 # Do not run these tests with pexes, assuming they are portable, since | 8 # Do not run these tests with pexes, assuming they are portable, since |
9 # they use inline assembler. | 9 # they use inline assembler. |
10 if env.Bit('bitcode') and env.Bit('pnacl_generate_pexe'): | 10 if env.Bit('bitcode') and env.Bit('pnacl_generate_pexe'): |
11 Return() | 11 Return() |
12 | 12 |
13 prog_env = env.Clone() | 13 prog_env = env.Clone() |
14 if prog_env.Bit('bitcode'): | 14 if prog_env.Bit('bitcode'): |
15 prog_env.AddBiasForPNaCl() | 15 prog_env.AddBiasForPNaCl() |
16 | 16 |
17 nexe = prog_env.ComponentProgram('execute_data', ['execute_data.c'], | 17 nexe = prog_env.ComponentProgram('execute_data', ['execute_data.c'], |
18 EXTRA_LIBS=['${NONIRT_LIBS}']) | 18 EXTRA_LIBS=['${NONIRT_LIBS}']) |
19 | 19 |
20 node = prog_env.CommandSelLdrTestNacl( | 20 node = prog_env.CommandSelLdrTestNacl( |
21 'execute_data.out', nexe, declares_exit_status=True) | 21 'execute_data.out', nexe, declares_exit_status=True) |
22 | 22 |
23 prog_env.AddNodeToTestSuite(node, ['small_tests', 'nonpexe_tests'], | 23 prog_env.AddNodeToTestSuite(node, ['small_tests', 'nonpexe_tests'], |
24 'run_execute_data_test', | 24 'run_execute_data_test', |
25 # This test hangs on qemu-arm when the | 25 # This test hangs on qemu-arm and qemu-mips when the |
26 # fault is caught by NaCl's signal | 26 # fault is caught by NaCl's signal |
27 # handler. | 27 # handler. |
28 is_broken=(env.Bit('target_arm') and | 28 is_broken=((env.Bit('target_arm') or |
29 env.Bit('target_mips32')) and | |
Mark Seaborn
2013/02/13 22:14:09
Please just remove the env.Bit('target_arm') (and
petarj
2013/03/05 17:50:04
Done.
| |
29 env.UsingEmulator())) | 30 env.UsingEmulator())) |
OLD | NEW |