summaryrefslogtreecommitdiff
path: root/deps/v8/tools/testrunner/base_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/testrunner/base_runner.py')
-rw-r--r--deps/v8/tools/testrunner/base_runner.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/tools/testrunner/base_runner.py b/deps/v8/tools/testrunner/base_runner.py
index 15c5335878..cb23366aa4 100644
--- a/deps/v8/tools/testrunner/base_runner.py
+++ b/deps/v8/tools/testrunner/base_runner.py
@@ -162,6 +162,7 @@ MODES = {
PROGRESS_INDICATORS = {
'verbose': progress.VerboseProgressIndicator,
+ 'ci': progress.CIProgressIndicator,
'dots': progress.DotsProgressIndicator,
'color': progress.ColorProgressIndicator,
'mono': progress.MonochromeProgressIndicator,
@@ -355,6 +356,10 @@ class BaseTestRunner(object):
parser.add_option("--exit-after-n-failures", type="int", default=100,
help="Exit after the first N failures instead of "
"running all tests. Pass 0 to disable this feature.")
+ parser.add_option("--ci-test-completion",
+ help="Path to a file for logging test completion in the "
+ "context of CI progress indicator. Ignored if "
+ "progress indicator is other than 'ci'.")
# Rerun
parser.add_option("--rerun-failures-count", default=0, type=int,
@@ -805,6 +810,9 @@ class BaseTestRunner(object):
self.mode_options.execution_mode))
for proc in procs:
+ proc.configure(options)
+
+ for proc in procs:
try:
proc.set_test_count(test_count)
except AttributeError: