diff options
Diffstat (limited to 'deps/v8/tools/testrunner/base_runner.py')
-rw-r--r-- | deps/v8/tools/testrunner/base_runner.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/deps/v8/tools/testrunner/base_runner.py b/deps/v8/tools/testrunner/base_runner.py index 481cc10134..fcb2202f8a 100644 --- a/deps/v8/tools/testrunner/base_runner.py +++ b/deps/v8/tools/testrunner/base_runner.py @@ -73,13 +73,12 @@ TEST_MAP = { ], # This needs to stay in sync with test/d8_default.isolate. "d8_default": [ - # TODO(machenbach): uncomment after infra side lands. - #"debugger", + "debugger", "mjsunit", "webkit", - #"message", - #"preparser", - #"intl", + "message", + "preparser", + "intl", ], # This needs to stay in sync with test/optimize_for_size.isolate. "optimize_for_size": [ @@ -312,6 +311,9 @@ class BaseTestRunner(object): 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.") # Rerun parser.add_option("--rerun-failures-count", default=0, type=int, @@ -745,6 +747,9 @@ class BaseTestRunner(object): self.mode_options.execution_mode)) return procs + def _create_result_tracker(self, options): + return progress.ResultsTracker(options.exit_after_n_failures) + def _create_timeout_proc(self, options): if not options.total_timeout_sec: return None |