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

Unified Diff: tests/egyptian_cotton/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
Index: tests/egyptian_cotton/nacl.scons
===================================================================
--- tests/egyptian_cotton/nacl.scons (revision 5756)
+++ tests/egyptian_cotton/nacl.scons (working copy)
@@ -9,7 +9,8 @@
env.Replace(EXTRA_LIBS=['pthread'])
-env.ComponentProgram('egyptian_cotton.nexe', 'egyptian_cotton.c')
+egyptian_cotton_nexe = env.ComponentProgram('egyptian_cotton',
+ 'egyptian_cotton.c')
platform_limits_known = False
@@ -117,8 +118,9 @@
tests = [t for t in tests if t[0] != 'thread_stack_alloc_test']
def ThreadTestNode(name, args):
- cmd = [env.File('egyptian_cotton.nexe')] + args
- return env.CommandSelLdrTestNacl(name + '.out', command = cmd)
+ return env.CommandSelLdrTestNacl(name + '.out',
+ egyptian_cotton_nexe,
+ args = args)
Nick Bray 2011/06/23 18:32:24 No spaces around keyword args. args = args -> arg
pdox 2011/06/23 20:42:58 Done.
nodes = [ ThreadTestNode(name, args) for name, args in tests ]

Powered by Google App Engine
This is Rietveld 408576698