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

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

Issue 7242011: Get rid of assumptions about ".nexe" extension. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « tests/native_worker/nacl.scons ('k') | tests/nrd_xfer/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 env.ComponentProgram('noop.nexe', 8 noop_nexe = env.ComponentProgram('noop',
9 'noop.c', 9 'noop.c',
10 EXTRA_LIBS=['pthread'], 10 EXTRA_LIBS=['pthread'],
11 ) 11 )
12 12
13 node = env.CommandSelLdrTestNacl( 13 node = env.CommandSelLdrTestNacl(
14 'noop_test.out', 14 'noop_test.out',
15 command=[env.File('noop.nexe')], 15 noop_nexe,
16 stdout_golden=env.File('noop.stdout'), 16 stdout_golden=env.File('noop.stdout'),
17 ) 17 )
18 env.AddNodeToTestSuite(node, 18 env.AddNodeToTestSuite(node,
19 ['small_tests', 'sel_ldr_tests'], 19 ['small_tests', 'sel_ldr_tests'],
20 'run_noop_test') 20 'run_noop_test')
21 21
22 22
23 env.ComponentProgram('noop2.nexe', 23 noop2_nexe = env.ComponentProgram('noop2',
24 'noop2.c', 24 'noop2.c',
25 EXTRA_LIBS=['pthread'], 25 EXTRA_LIBS=['pthread'],
26 ) 26 )
27 node = env.CommandSelLdrTestNacl( 27 node = env.CommandSelLdrTestNacl(
28 'noop2_test.out', 28 'noop2_test.out',
29 command=[env.File('noop2.nexe')], 29 noop2_nexe,
30 stdout_golden=env.File('noop.stdout'), 30 stdout_golden=env.File('noop.stdout'),
31 exit_status='2', 31 exit_status='2',
32 ) 32 )
33 env.AddNodeToTestSuite(node, 33 env.AddNodeToTestSuite(node,
34 ['small_tests', 'sel_ldr_tests'], 34 ['small_tests', 'sel_ldr_tests'],
35 'run_noop2_test') 35 'run_noop2_test')
OLDNEW
« no previous file with comments | « tests/native_worker/nacl.scons ('k') | tests/nrd_xfer/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698