OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 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 srpc_hw_libs = ['srpc', 'platform', 'gio', 'imc', 'imc_syscalls'] | 8 srpc_hw_libs = ['srpc', 'platform', 'gio', 'imc', 'imc_syscalls'] |
9 | 9 |
10 srpc_hw_obj = env.ComponentObject('srpc_hw.o', 'srpc_hw.c') | 10 srpc_hw_obj = env.ComponentObject('srpc_hw.o', 'srpc_hw.c') |
(...skipping 12 matching lines...) Expand all Loading... |
23 EXTRA_LIBS=srpc_hw_libs + [ | 23 EXTRA_LIBS=srpc_hw_libs + [ |
24 '${PTHREAD_LIBS}', | 24 '${PTHREAD_LIBS}', |
25 '${NONIRT_LIBS}']) | 25 '${NONIRT_LIBS}']) |
26 | 26 |
27 node = env.SelUniversalTest( | 27 node = env.SelUniversalTest( |
28 'srpc_hw_test.out', | 28 'srpc_hw_test.out', |
29 srpc_hw_nonbrowser, | 29 srpc_hw_nonbrowser, |
30 sel_universal_flags=['--command_file', env.File('srpc_hw_test.stdin')], | 30 sel_universal_flags=['--command_file', env.File('srpc_hw_test.stdin')], |
31 stdout_golden=env.File('srpc_hw_test.stdout'), | 31 stdout_golden=env.File('srpc_hw_test.stdout'), |
32 ) | 32 ) |
| 33 |
| 34 # TODO(petarj): The test hangs indefinitely on QEMU. Enable it when fixed. |
| 35 |
33 env.AddNodeToTestSuite(node, | 36 env.AddNodeToTestSuite(node, |
34 ['small_tests'], | 37 ['small_tests'], |
35 'run_srpc_hw_test') | 38 'run_srpc_hw_test', |
| 39 is_broken=env.Bit('build_mips32') |
| 40 and env.UsingEmulator()) |
OLD | NEW |