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

Unified Diff: tests/toolchain/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/tls/nacl.scons ('k') | tests/unittests/shared/imc/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/toolchain/nacl.scons
===================================================================
--- tests/toolchain/nacl.scons (revision 5777)
+++ tests/toolchain/nacl.scons (working copy)
@@ -24,41 +24,41 @@
'-Wl,-no-whole-archive'])
-nexe = wa_env.ComponentProgram('dummy.nexe', 'dummy.c')
+nexe = wa_env.ComponentProgram('dummy', 'dummy.c')
node = wa_env.CommandValidatorTestNacl('whole_archive_test.out',
image=[nexe])
wa_env.AddNodeToTestSuite(node,
['toolchain_tests', 'small_tests'],
'run_whole_archive_test')
-nexe = env.ComponentProgram('setlongjmp.nexe', 'setlongjmp.c')
+nexe = env.ComponentProgram('setlongjmp', 'setlongjmp.c')
node = env.CommandSelLdrTestNacl('setlongjmp.out',
- command=[nexe],
+ nexe,
exit_status='55')
env.AddNodeToTestSuite(node,
['toolchain_tests','small_tests'],
'run_setlongjmp_test')
-nexe = env.ComponentProgram('intrinsics.nexe', 'intrinsics.cc')
+nexe = env.ComponentProgram('intrinsics', 'intrinsics.cc')
node = env.CommandSelLdrTestNacl('intrinsics.out',
- command=[nexe],
+ nexe,
exit_status='55')
env.AddNodeToTestSuite(node,
['toolchain_tests','small_tests'],
'run_intrinsics_test')
-nexe = env.ComponentProgram('float2.nexe', 'float2.c')
+nexe = env.ComponentProgram('float2', 'float2.c')
node = env.CommandSelLdrTestNacl('float2.out',
- command=[nexe],
+ nexe,
stdout_golden=env.File('float2.stdout'))
env.AddNodeToTestSuite(node,
['toolchain_tests','small_tests'],
'run_float2_test')
-nexe = env.ComponentProgram('initfini.nexe', 'initfini.c')
+nexe = env.ComponentProgram('initfini', 'initfini.c')
node = env.CommandSelLdrTestNacl('initfini.out',
- command=[nexe],
+ nexe,
stdout_golden=env.File('initfini.stdout'))
# NOTE: this currently only works for PNaCl, c.f:
@@ -81,9 +81,9 @@
if env.Bit('bitcode'):
sloppy_env.FilterOut(LINKFLAGS=['-O3'])
-nexe = sloppy_env.ComponentProgram('return_address.nexe', 'return_address.c')
+nexe = sloppy_env.ComponentProgram('return_address', 'return_address.c')
node = sloppy_env.CommandSelLdrTestNacl('return_address.out',
- command=[nexe],
+ nexe,
exit_status='55')
sloppy_env.AddNodeToTestSuite(node,
['toolchain_tests', 'small_tests'],
@@ -134,9 +134,9 @@
name = src.split('.')[0] + '_' + tag
nobj = e.ComponentObject(name + '.o', src)
- nexe = e.ComponentProgram(name + '.nexe', nobj)
+ nexe = e.ComponentProgram(name, nobj)
node = e.CommandSelLdrTestNacl(name + '.out',
- command=[nexe],
+ nexe,
exit_status='55')
e.AddNodeToTestSuite(node, ['toolchain_tests', 'small_tests'],
'run_' + name +'_test', is_broken=is_broken)
« no previous file with comments | « tests/tls/nacl.scons ('k') | tests/unittests/shared/imc/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698