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

Unified Diff: gtest-parallel-wrapper.py

Issue 2682693002: Add the output_dir and timeout arguments to gtest_parallel_wrapper.py (Closed)
Patch Set: : Created 3 years, 10 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: gtest-parallel-wrapper.py
diff --git a/gtest-parallel-wrapper.py b/gtest-parallel-wrapper.py
index 1884ba04e70123c301ee27a2a24775891908e3af..d5b9b78ae50d3b2e4022cb93f20d62bf54843faf 100755
--- a/gtest-parallel-wrapper.py
+++ b/gtest-parallel-wrapper.py
@@ -59,6 +59,8 @@ if '--' in sys.argv:
parser = argparse.ArgumentParser()
parser.add_argument('--isolated-script-test-output', type=str, default=None)
+parser.add_argument('--output_dir', type=str, default=None)
+parser.add_argument('--timeout', type=int, default=None)
options, unprocessed = parser.parse_known_args()
test_executable = unprocessed[0]
@@ -81,6 +83,18 @@ if options.isolated_script_test_output:
options.isolated_script_test_output,
]
+if options.output_dir:
+ gtest_args += [
+ '--output_dir',
+ options.output_dir,
+ ]
+
+if options.timeout:
+ gtest_args += [
+ '--timeout',
+ str(options.timeout),
+ ]
+
command = [
sys.executable,
gtest_parallel_path,
« 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