OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2008 The Native Client Authors. All rights reserved. | 2 # Copyright 2008 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. |
5 | 5 |
6 Import('env') | 6 Import('env') |
7 | 7 |
8 # tests in this directory contain c++ which does not work on pnacl/x86 | 8 # tests in this directory contain c++ which does not work on pnacl/x86 |
9 if env.Bit('bitcode'): | 9 if env.Bit('bitcode'): |
10 Return() | 10 Return() |
11 | 11 |
12 env.Replace(EXTRA_LIBS=['platform', 'gio', 'pthread']) | 12 env.Replace(EXTRA_LIBS=['platform', 'gio', 'pthread']) |
13 | 13 |
14 env.ComponentProgram('nacl_log.nexe', 'nacl_log.c') | 14 nacl_log_nexe = env.ComponentProgram('nacl_log', 'nacl_log.c') |
15 | 15 |
16 | 16 |
17 node = env.CommandSelLdrTestNacl( | 17 node = env.CommandSelLdrTestNacl( |
18 'nacl_log_test.out', | 18 'nacl_log_test.out', |
19 command=[env.File('nacl_log.nexe')], | 19 nacl_log_nexe, |
20 ) | 20 ) |
21 env.AddNodeToTestSuite(node, | 21 env.AddNodeToTestSuite(node, |
22 ['small_tests', 'sel_ldr_tests'], | 22 ['small_tests', 'sel_ldr_tests'], |
23 'run_nacl_log_test') | 23 'run_nacl_log_test') |
OLD | NEW |