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

Unified Diff: tools_webrtc/gtest-parallel-wrapper.py

Issue 2982133002: Fix gtest-parallel-wrapper (Closed)
Patch Set: Created 3 years, 5 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: tools_webrtc/gtest-parallel-wrapper.py
diff --git a/tools_webrtc/gtest-parallel-wrapper.py b/tools_webrtc/gtest-parallel-wrapper.py
index c3a0649d03fa6e67d56be25c56bf34e9b6ec7618..e7a659f2861cf01b499e9673316f6fe2414c09f4 100755
--- a/tools_webrtc/gtest-parallel-wrapper.py
+++ b/tools_webrtc/gtest-parallel-wrapper.py
@@ -64,10 +64,10 @@ def CatFiles(file_list, output_file):
def get_args_and_env():
- if '--' not in sys.argv:
- return sys.argv, os.environ
-
- argv_index = sys.argv.index('--')
+ if '--' in sys.argv:
+ argv_index = sys.argv.index('--')
+ else:
+ argv_index = len(sys.argv)
gtest_parallel_args = sys.argv[1:argv_index]
executable_args = sys.argv[argv_index + 1:]
« 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