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