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 sysbasic_nexe = env.ComponentProgram('sysbasic.nexe', | 8 sysbasic_nexe = env.ComponentProgram('sysbasic', |
9 'sysbasic.c', | 9 'sysbasic.c', |
10 EXTRA_LIBS=['${PTHREAD_LIBS}', | 10 EXTRA_LIBS=['${PTHREAD_LIBS}', |
11 '${NONIRT_LIBS}', | 11 '${NONIRT_LIBS}', |
12 'nacl_sys_private']) | 12 'nacl_sys_private']) |
13 | 13 |
14 node = env.CommandSelLdrTestNacl( | 14 node = env.CommandSelLdrTestNacl( |
15 'sysbasic_test.out', | 15 'sysbasic_test.out', |
16 sysbasic_nexe, | 16 sysbasic_nexe, |
17 exit_status='69') | 17 exit_status='69') |
18 | 18 |
19 env.AddNodeToTestSuite(node, | 19 env.AddNodeToTestSuite(node, |
20 ['small_tests', 'sel_ldr_tests'], | 20 ['small_tests', 'sel_ldr_tests'], |
21 'run_sysbasic_test') | 21 'run_sysbasic_test') |
22 | 22 |
23 | 23 |
24 tls_test_nexe = env.ComponentProgram('tls_test', | 24 tls_test_nexe = env.ComponentProgram('tls_test', |
25 'tls_test.c', | 25 'tls_test.c', |
26 EXTRA_LIBS=['${PTHREAD_LIBS}', | 26 EXTRA_LIBS=['${PTHREAD_LIBS}', |
27 '${NONIRT_LIBS}']) | 27 '${NONIRT_LIBS}']) |
28 | 28 |
29 node = env.CommandSelLdrTestNacl( | 29 node = env.CommandSelLdrTestNacl( |
30 'tls_test_test.out', | 30 'tls_test_test.out', |
31 tls_test_nexe, | 31 tls_test_nexe, |
32 exit_status='69') | 32 exit_status='69') |
33 | 33 |
34 env.AddNodeToTestSuite(node, | 34 env.AddNodeToTestSuite(node, |
35 ['small_tests', 'sel_ldr_tests'], | 35 ['small_tests', 'sel_ldr_tests'], |
36 'run_tls_test') | 36 'run_tls_test') |
OLD | NEW |