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

Unified Diff: tests/minnacl/nacl.scons

Issue 9695064: Simplify GetTranslatedNexe() (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebase Created 8 years, 9 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 | « site_scons/site_tools/naclsdk.py ('k') | tests/multiple_sandboxes/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/minnacl/nacl.scons
diff --git a/tests/minnacl/nacl.scons b/tests/minnacl/nacl.scons
index f4f70a32f6fcbe5ccb0079fbf3bb60e9ddfaa6d1..ec5e3cce6a8920d8487fef39ce1d89edf344c032 100644
--- a/tests/minnacl/nacl.scons
+++ b/tests/minnacl/nacl.scons
@@ -52,12 +52,9 @@ test_prog = env.ComponentProgram(
['minimal_test_guest.c'],
EXTRA_LINKFLAGS=['-nostdlib'])
-extra_deps = []
if env.Bit('pnacl_generate_pexe'):
env.Replace(TRANSLATEFLAGS=['-nostdlib'])
- nexe_name, pexe_node = env.GetTranslatedNexe(test_prog)
- test_prog = nexe_name
- extra_deps = [pexe_node]
+ test_prog = env.GetTranslatedNexe(test_prog)
test_command = [runner, test_prog]
bootstrap, _ = env.GetBootstrap()
@@ -65,7 +62,6 @@ if bootstrap is not None:
test_command = [bootstrap] + test_command
node = env.CommandTest('minimal_test.out', test_command,
- stdout_golden=env.File('minimal_test.stdout'),
- extra_deps=extra_deps)
+ stdout_golden=env.File('minimal_test.stdout'))
env.AddNodeToTestSuite(node, ['small_tests'], 'run_minnacl_test',
is_broken=not env.Bit('nacl_static_link'))
« no previous file with comments | « site_scons/site_tools/naclsdk.py ('k') | tests/multiple_sandboxes/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698