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 if not env.AllowInlineAssembly(): | 8 if not env.AllowInlineAssembly(): |
9 Return() | 9 Return() |
10 | 10 |
| 11 valgrind = env.ComponentObject( |
| 12 'valgrind_annotations.o', |
| 13 '${MAIN_DIR}/src/untrusted/valgrind/dynamic_annotations.c') |
| 14 |
11 nexe = env.ComponentProgram( | 15 nexe = env.ComponentProgram( |
12 'syscall_return_regs_test', ['syscall_return_regs_test.c'], | 16 'syscall_return_regs_test', ['syscall_return_regs_test.c'] + valgrind, |
13 EXTRA_LIBS=['${NONIRT_LIBS}', 'test_common']) | 17 EXTRA_LIBS=['${NONIRT_LIBS}', 'test_common']) |
14 | 18 |
15 node = env.CommandSelLdrTestNacl('syscall_return_regs_test.out', nexe) | 19 node = env.CommandSelLdrTestNacl('syscall_return_regs_test.out', nexe) |
16 env.AddNodeToTestSuite(node, ['small_tests'], 'run_syscall_return_regs_test') | 20 env.AddNodeToTestSuite(node, ['small_tests'], 'run_syscall_return_regs_test') |
OLD | NEW |