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

Unified Diff: tools/run-tests.py

Issue 285193009: Let test driver export json results. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review. Created 6 years, 7 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 | tools/testrunner/local/progress.py » ('j') | tools/testrunner/local/progress.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index 6b07574139264778cf116a89bcb43bf583e72841..bbb4749f968361fa8ecab37183c332d8010a7ca6 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -173,6 +173,8 @@ def BuildOptions():
help=("Quick check mode (skip slow/flaky tests)"))
result.add_option("--report", help="Print a summary of the tests to be run",
default=False, action="store_true")
+ result.add_option("--json-test-results",
+ help="Path to a file for storing json results.")
result.add_option("--shard-count",
help="Split testsuites into this number of shards",
default=1, type="int")
@@ -468,6 +470,9 @@ def Execute(arch, mode, args, options, suites, workspace):
if options.junitout:
progress_indicator = progress.JUnitTestProgressIndicator(
progress_indicator, options.junitout, options.junittestsuite)
+ if options.json_test_results:
+ progress_indicator = progress.JsonTestProgressIndicator(
+ progress_indicator, options.json_test_results, arch, mode)
run_networked = not options.no_network
if not run_networked:
« no previous file with comments | « no previous file | tools/testrunner/local/progress.py » ('j') | tools/testrunner/local/progress.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698