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.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/tools/testrunner/base_runner.py b/deps/v8/tools/testrunner/base_runner.py
index d999d87a27..6c2bcf8ae4 100644
--- a/deps/v8/tools/testrunner/base_runner.py
+++ b/deps/v8/tools/testrunner/base_runner.py
@@ -354,6 +354,9 @@ class BaseTestRunner(object):
"color, mono)")
parser.add_option("--json-test-results",
help="Path to a file for storing json results.")
+ parser.add_option("--junitout", help="File name of the JUnit output")
+ parser.add_option("--junittestsuite", default="v8tests",
+ help="The testsuite name in the JUnit output file")
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.")
@@ -800,6 +803,9 @@ class BaseTestRunner(object):
def _create_progress_indicators(self, test_count, options):
procs = [PROGRESS_INDICATORS[options.progress]()]
+ if options.junitout:
+ procs.append(progress.JUnitTestProgressIndicator(options.junitout,
+ options.junittestsuite))
if options.json_test_results:
procs.append(progress.JsonTestProgressIndicator(
self.framework_name,