Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: tests/sysbasic/nacl.scons

Issue 9696046: Add test running support for tests generated as pexes. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: suggestions Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 sysbasic_nexe = env.ComponentProgram('sysbasic.nexe', 8 sysbasic_nexe = env.ComponentProgram('sysbasic',
9 'sysbasic.c', 9 'sysbasic.c',
10 EXTRA_LIBS=['${PTHREAD_LIBS}', 10 EXTRA_LIBS=['${PTHREAD_LIBS}',
11 '${NONIRT_LIBS}', 11 '${NONIRT_LIBS}',
12 'nacl_sys_private']) 12 'nacl_sys_private'])
13 13
14 node = env.CommandSelLdrTestNacl( 14 node = env.CommandSelLdrTestNacl(
15 'sysbasic_test.out', 15 'sysbasic_test.out',
16 sysbasic_nexe, 16 sysbasic_nexe,
17 exit_status='69') 17 exit_status='69')
18 18
19 env.AddNodeToTestSuite(node, 19 env.AddNodeToTestSuite(node,
20 ['small_tests', 'sel_ldr_tests'], 20 ['small_tests', 'sel_ldr_tests'],
21 'run_sysbasic_test') 21 'run_sysbasic_test')
22 22
23 23
24 tls_test_nexe = env.ComponentProgram('tls_test', 24 tls_test_nexe = env.ComponentProgram('tls_test',
25 'tls_test.c', 25 'tls_test.c',
26 EXTRA_LIBS=['${PTHREAD_LIBS}', 26 EXTRA_LIBS=['${PTHREAD_LIBS}',
27 '${NONIRT_LIBS}']) 27 '${NONIRT_LIBS}'])
28 28
29 node = env.CommandSelLdrTestNacl( 29 node = env.CommandSelLdrTestNacl(
30 'tls_test_test.out', 30 'tls_test_test.out',
31 tls_test_nexe, 31 tls_test_nexe,
32 exit_status='69') 32 exit_status='69')
33 33
34 env.AddNodeToTestSuite(node, 34 env.AddNodeToTestSuite(node,
35 ['small_tests', 'sel_ldr_tests'], 35 ['small_tests', 'sel_ldr_tests'],
36 'run_tls_test') 36 'run_tls_test')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698