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

Unified Diff: native_client_sdk/src/test_all.py

Issue 720233003: [NaCl SDK] Convert python scripts from optparse to argparse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: native_client_sdk/src/test_all.py
diff --git a/native_client_sdk/src/test_all.py b/native_client_sdk/src/test_all.py
index 4a451f45a6254c7b9650d02cadee3968d9fa1cd1..54733e09c75222a576d794096944a3b3f3df12b4 100755
--- a/native_client_sdk/src/test_all.py
+++ b/native_client_sdk/src/test_all.py
@@ -54,11 +54,13 @@ TEST_MODULES = [
]
def ExtractToolchains():
- subprocess.check_output([sys.executable, PKG_VER,
- '--packages', ','.join(EXTRACT_PACKAGES),
- '--tar-dir', TAR_DIR,
- '--dest-dir', TOOLCHAIN_OUT,
- 'extract'])
+ cmd = [sys.executable, PKG_VER, '--verbose',
+ '--packages', ','.join(EXTRACT_PACKAGES),
+ '--tar-dir', TAR_DIR,
+ '--dest-dir', TOOLCHAIN_OUT,
+ 'extract']
+ print(cmd)
binji 2014/11/13 23:57:02 why?
Sam Clegg 2014/11/30 17:55:12 Dropped.
+ subprocess.check_output(cmd)
def main():
# Some of the unit tests use parts of toolchains. Extract to TOOLCHAIN_OUT.

Powered by Google App Engine
This is Rietveld 408576698