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 | 6 |
7 Import('env') | 7 Import('env') |
8 | 8 |
9 nexe = env.ComponentProgram('nullptr.nexe', | 9 nexe = env.ComponentProgram('nullptr', |
10 'nullptr.c', | 10 'nullptr.c', |
11 EXTRA_LIBS=['pthread'], | 11 EXTRA_LIBS=['pthread'], |
12 ) | 12 ) |
13 | 13 |
14 node = env.CommandSelLdrTestNacl('nullptr.out', | 14 node = env.CommandSelLdrTestNacl('nullptr.out', |
15 command=[env.File('nullptr.nexe')], | 15 nexe, |
16 exit_status='untrusted_segfault') | 16 exit_status='untrusted_segfault') |
17 | 17 |
18 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nullptr_test') | 18 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nullptr_test') |
OLD | NEW |