| 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('simple_srpc_test.nexe', | 8 simple_srpc_test_nexe = env.ComponentProgram( |
| 9 ['simple_srpc_test.c'], | 9 'simple_srpc_test', |
| 10 EXTRA_LIBS=['srpc', | 10 ['simple_srpc_test.c'], |
| 11 'imc', | 11 EXTRA_LIBS=['srpc', |
| 12 'imc_syscalls', | 12 'imc', |
| 13 'platform', | 13 'imc_syscalls', |
| 14 'gio', | 14 'platform', |
| 15 'pthread']) | 15 'gio', |
| 16 'pthread']) |
| 16 node = env.CommandSelLdrTestNacl( | 17 node = env.CommandSelLdrTestNacl( |
| 17 'simple_srpc_test_nexe.out', | 18 'simple_srpc_test_nexe.out', |
| 18 command=[env.File('simple_srpc_test.nexe')], | 19 simple_srpc_test_nexe, |
| 19 exit_status='0', | 20 exit_status='0', |
| 20 ) | 21 ) |
| 21 env.AddNodeToTestSuite(node, ['small_tests'], 'run_simple_srpc_test_nexe') | 22 env.AddNodeToTestSuite(node, ['small_tests'], 'run_simple_srpc_test_nexe') |
| 22 | 23 |
| 23 env.ComponentProgram('types_srpc_test.nexe', | 24 types_srpc_test_nexe = env.ComponentProgram( |
| 24 ['types_srpc_test.c'], | 25 'types_srpc_test', |
| 25 EXTRA_LIBS=['srpc', | 26 ['types_srpc_test.c'], |
| 26 'imc', | 27 EXTRA_LIBS=['srpc', |
| 27 'imc_syscalls', | 28 'imc', |
| 28 'platform', | 29 'imc_syscalls', |
| 29 'gio', | 30 'platform', |
| 30 'pthread']) | 31 'gio', |
| 32 'pthread']) |
| 31 node = env.CommandSelLdrTestNacl( | 33 node = env.CommandSelLdrTestNacl( |
| 32 'types_srpc_test_nexe.out', | 34 'types_srpc_test_nexe.out', |
| 33 command=[env.File('types_srpc_test.nexe')], | 35 types_srpc_test_nexe, |
| 34 exit_status='0', | 36 exit_status='0', |
| 35 ) | 37 ) |
| 36 env.AddNodeToTestSuite(node, ['small_tests'], 'run_types_srpc_test_nexe') | 38 env.AddNodeToTestSuite(node, ['small_tests'], 'run_types_srpc_test_nexe') |
| OLD | NEW |