OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2010 The Native Client Authors. All rights reserved. | 2 # Copyright 2010 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 ###################################################################### | 8 ###################################################################### |
9 # Simple RPC message fragmentation tests | 9 # Simple RPC message fragmentation tests |
10 ###################################################################### | 10 ###################################################################### |
11 srpc_message_nexe = env.ComponentProgram('srpc_message.nexe', 'srpc_message.c', | 11 srpc_message_nexe = env.ComponentProgram('srpc_message', 'srpc_message.c', |
12 EXTRA_LIBS=[ | 12 EXTRA_LIBS=[ |
13 'srpc', | 13 'srpc', |
14 'platform', | 14 'platform', |
15 'gio', | 15 'gio', |
16 'm', | 16 'm', |
17 'pthread']) | 17 'pthread']) |
18 | 18 |
19 node = env.CommandSelLdrTestNacl( | 19 node = env.CommandSelLdrTestNacl( |
20 'srpc_message_test.out', | 20 'srpc_message_test.out', |
| 21 srpc_message_nexe, |
21 loader='sel_ldr', | 22 loader='sel_ldr', |
22 command=[srpc_message_nexe], | |
23 exit_status='0' | 23 exit_status='0' |
24 ) | 24 ) |
25 env.AddNodeToTestSuite(node, ['small_tests'], 'run_srpc_message_test') | 25 env.AddNodeToTestSuite(node, ['small_tests'], 'run_srpc_message_test') |
OLD | NEW |