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

Side by Side Diff: tests/fib/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/fake_browser_ppapi/nacl.scons ('k') | tests/file/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 (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 env.ComponentProgram('fib_array.nexe', 8 fib_array_nexe = env.ComponentProgram(
9 'fib_array',
9 'fib_array.c', 10 'fib_array.c',
10 EXTRA_LIBS=['srpc', 11 EXTRA_LIBS=['srpc',
11 'platform', 12 'platform',
12 'gio', 13 'gio',
13 'imc', 14 'imc',
14 'imc_syscalls', 15 'imc_syscalls',
15 'pthread']) 16 'pthread'])
16 node = env.SelUniversalTest( 17 node = env.SelUniversalTest(
17 'fib_array_test.out', 18 'fib_array_test.out',
18 command=[env.File('fib_array.nexe')], 19 fib_array_nexe,
19 stdin=env.File('fib_array_test.stdin'), 20 stdin=env.File('fib_array_test.stdin'),
20 stdout_golden=env.File('fib_array_test.stdout') 21 stdout_golden=env.File('fib_array_test.stdout')
21 ) 22 )
22 env.AddNodeToTestSuite(node, 23 env.AddNodeToTestSuite(node,
23 ['small_tests', 'sel_ldr_tests'], 24 ['small_tests', 'sel_ldr_tests'],
24 'run_fib_array_test') 25 'run_fib_array_test')
25 26
26 27
27 28
28 env.ComponentProgram('fib_scalar.nexe', 29 fib_scalar_nexe = env.ComponentProgram(
29 'fib_scalar.c', 30 'fib_scalar',
30 EXTRA_LIBS=['srpc', 31 'fib_scalar.c',
31 'platform', 32 EXTRA_LIBS=['srpc',
32 'gio', 33 'platform',
33 'imc', 34 'gio',
34 'imc_syscalls', 35 'imc',
35 'pthread']) 36 'imc_syscalls',
37 'pthread'])
36 node = env.SelUniversalTest( 38 node = env.SelUniversalTest(
37 'fib_scalar_test.out', 39 'fib_scalar_test.out',
38 command=[env.File('fib_scalar.nexe')], 40 fib_scalar_nexe,
39 stdin=env.File('fib_scalar_test.stdin'), 41 stdin=env.File('fib_scalar_test.stdin'),
40 stdout_golden=env.File('fib_scalar_test.stdout') 42 stdout_golden=env.File('fib_scalar_test.stdout')
41 ) 43 )
42 env.AddNodeToTestSuite(node, 44 env.AddNodeToTestSuite(node,
43 ['small_tests', 'sel_ldr_tests'], 45 ['small_tests', 'sel_ldr_tests'],
44 'run_fib_scalar_test') 46 'run_fib_scalar_test')
OLDNEW
« no previous file with comments | « tests/fake_browser_ppapi/nacl.scons ('k') | tests/file/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698