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

Side by Side Diff: tests/dup/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
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright 2011 The Native Client Authors. All rights reserved. 2 # Copyright 2011 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 # TODO(mseaborn): remove when glibc has syscall stubs for dup and dup2 8 # TODO(mseaborn): remove when glibc has syscall stubs for dup and dup2
9 if env.Bit('nacl_glibc'): 9 if env.Bit('nacl_glibc'):
10 Return() 10 Return()
11 11
12 env.ComponentProgram('dup_test.nexe', 'dup_test.c') 12 nexe = env.ComponentProgram('dup_test', 'dup_test.c')
Nick Bray 2011/06/23 18:32:24 Again, what should the local name be?
pdox 2011/06/23 20:42:58 I don't understand your objection. Is there anythi
13 13
14 node = env.CommandSelLdrTestNacl( 14 node = env.CommandSelLdrTestNacl(
15 'dup_test.out', 15 'dup_test.out',
16 command=[env.File('dup_test.nexe')], 16 nexe,
17 stdin=env.File('dup_test.stdin'), 17 stdin=env.File('dup_test.stdin'),
18 stdout_golden=env.File('dup_test.stdout'), 18 stdout_golden=env.File('dup_test.stdout'),
19 ) 19 )
20 env.AddNodeToTestSuite(node, 20 env.AddNodeToTestSuite(node,
21 ['small_tests', 'sel_ldr_tests'], 21 ['small_tests', 'sel_ldr_tests'],
22 'run_dup_test') 22 'run_dup_test')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698