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

Unified Diff: tools/test-wrapper-gypbuild.py

Issue 11000052: tools/test.py: Add support for JUnit compatible XML output (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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
Index: tools/test-wrapper-gypbuild.py
diff --git a/tools/test-wrapper-gypbuild.py b/tools/test-wrapper-gypbuild.py
index 4dd6338dc98c32ac367fb1f8afb48eb531891a9b..756436866f4da3d171efe6464b0e83292b8c75f9 100755
--- a/tools/test-wrapper-gypbuild.py
+++ b/tools/test-wrapper-gypbuild.py
@@ -123,6 +123,7 @@ def BuildOptions():
default=1, type="int")
result.add_option("--noprof", help="Disable profiling support",
default=False)
+ result.add_option("--xmlout", help='File name of the UnitTest output')
# Flags present in the original test.py that are unsupported in this wrapper:
# -S [-> scons_flags] (we build with gyp/make, not scons)
@@ -206,6 +207,8 @@ def PassOnOptions(options):
result += ['--shard-run=%s' % options.shard_run]
if options.noprof:
result += ['--noprof']
+ if options.xmlout:
+ result += ['--xmlout=%s' % options.xmlout]
return result

Powered by Google App Engine
This is Rietveld 408576698