OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2009 The Native Client Authors. All rights reserved. | 2 # Copyright 2009 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 | 6 |
7 Import('env') | 7 Import('env') |
8 | 8 |
9 env.ComponentProgram('gettimeofday_test.nexe', | 9 nexe = env.ComponentProgram('gettimeofday_test', |
10 'gettimeofday_test.c', | 10 'gettimeofday_test.c', |
11 EXTRA_LIBS=['pthread']) | 11 EXTRA_LIBS=['pthread']) |
12 | 12 |
13 node = env.CommandSelLdrTestNacl( | 13 node = env.CommandSelLdrTestNacl( |
14 'gettimeofday_test.out', | 14 'gettimeofday_test.out', |
15 command=[env.File('gettimeofday_test.nexe'), '-m']) | 15 nexe, |
| 16 args=['-m']) |
16 env.AddNodeToTestSuite(node, ['small_tests'], 'run_gettimeofday_test') | 17 env.AddNodeToTestSuite(node, ['small_tests'], 'run_gettimeofday_test') |
OLD | NEW |