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

Unified Diff: test/builtins/Unit/nacltest.py

Issue 1062403003: NaCl test script: get the run.py translation arch from the environment (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-compiler-rt.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/builtins/Unit/nacltest.py
diff --git a/test/builtins/Unit/nacltest.py b/test/builtins/Unit/nacltest.py
index 33d526805ff6a1dea8c87abba0ee701227ca0f74..f0372b73a9e4d42fba87daca1698ca7fddc6f440 100755
--- a/test/builtins/Unit/nacltest.py
+++ b/test/builtins/Unit/nacltest.py
@@ -64,7 +64,7 @@ def main(argv):
exe_suffix = '.pexe' if 'pnacl-clang' in cc else '.nexe'
nexe = os.path.join(workdir, os.path.basename(test + exe_suffix))
build_cmd = [cc, '-I' + inc_dir, '-o', nexe, test] + flags
- run_cmd = [run_py, nexe]
+ run_cmd = [run_py, '-arch', 'env', nexe]
try:
print ' '.join(build_cmd)
subprocess.check_call(build_cmd)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698