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

Unified Diff: tests/noop/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/noop/nacl.scons
===================================================================
--- tests/noop/nacl.scons (revision 5756)
+++ tests/noop/nacl.scons (working copy)
@@ -5,14 +5,14 @@
Import('env')
-env.ComponentProgram('noop.nexe',
- 'noop.c',
- EXTRA_LIBS=['pthread'],
- )
+noop_nexe = env.ComponentProgram('noop',
+ 'noop.c',
+ EXTRA_LIBS=['pthread'],
+ )
node = env.CommandSelLdrTestNacl(
'noop_test.out',
- command=[env.File('noop.nexe')],
+ noop_nexe,
stdout_golden=env.File('noop.stdout'),
)
env.AddNodeToTestSuite(node,
@@ -20,13 +20,13 @@
'run_noop_test')
-env.ComponentProgram('noop2.nexe',
- 'noop2.c',
- EXTRA_LIBS=['pthread'],
- )
+noop2_nexe = env.ComponentProgram('noop2',
+ 'noop2.c',
+ EXTRA_LIBS=['pthread'],
+ )
node = env.CommandSelLdrTestNacl(
'noop2_test.out',
- command=[env.File('noop2.nexe')],
+ noop2_nexe,
stdout_golden=env.File('noop.stdout'),
exit_status='2',
)

Powered by Google App Engine
This is Rietveld 408576698