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

Unified Diff: tests/app_lib/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/app_lib/nacl.scons
===================================================================
--- tests/app_lib/nacl.scons (revision 5756)
+++ tests/app_lib/nacl.scons (working copy)
@@ -9,10 +9,10 @@
######################################################################
# Smoke Test
######################################################################
-env.ComponentProgram('app_lib_test.nexe',
- 'app_lib_test.c',
- EXTRA_LIBS=['pthread'],
- )
+nexe = env.ComponentProgram('app_lib_test',
+ 'app_lib_test.c',
+ EXTRA_LIBS=['pthread'],
+ )
# NOTE: we are using the same file as stdin and on the command line
#
@@ -21,7 +21,8 @@
# order to access the filesystem.
node = env.CommandSelLdrTestNacl(
'app_lib_test.out',
- command=[env.File('app_lib_test.nexe'), env.File('app_lib_test.stdin')],
+ nexe,
+ args=[env.File('app_lib_test.stdin')],
stdin=env.File('app_lib_test.stdin'),
stdout_golden=env.File('app_lib_test.stdout'),
sel_ldr_flags=['-a'],

Powered by Google App Engine
This is Rietveld 408576698