Bug 1442672 [wpt PR 9746] - Add default list value to extra-property argument., a=testonly
authorJosh Matthews <josh@joshmatthews.net>
Mon, 26 Mar 2018 14:58:18 +0000
changeset 411191 e4c80eff089fa92ea9c6942a59c5b718e1875355
parent 411190 097a16fbd04516b81eb23e690ba246eae95f92c0
child 411192 c8d65fb6ed4798486e4333679d7de7d25b9a772f
push id33749
push usercsabou@mozilla.com
push dateMon, 02 Apr 2018 10:18:51 +0000
treeherdermozilla-central@c44f60c43432 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1442672
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1442672 [wpt PR 9746] - Add default list value to extra-property argument., a=testonly Automatic update from web-platform-testsAdd default list value to extra-property argument. (#9746) wpt-commits: 59d21c5f036e7016b2689fd79364ef27b844481a wpt-pr: 9746 wpt-commits: 59d21c5f036e7016b2689fd79364ef27b844481a wpt-pr: 9746
testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py
+++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py
@@ -510,17 +510,17 @@ def create_parser_update(product_choices
         help=("Reason for disabling tests. When updating test results, disable tests that have "
               "inconsistent results across many runs with the given reason."))
     parser.add_argument("--continue", action="store_true", help="Continue a previously started run of the update script")
     parser.add_argument("--abort", action="store_true", help="Clear state from a previous incomplete run of the update script")
     parser.add_argument("--exclude", action="store", nargs="*",
                         help="List of glob-style paths to exclude when syncing tests")
     parser.add_argument("--include", action="store", nargs="*",
                         help="List of glob-style paths to include which would otherwise be excluded when syncing tests")
-    parser.add_argument("--extra-property", action="append",
+    parser.add_argument("--extra-property", action="append", default=[],
                         help="Extra property from run_info.json to use in metadata update")
     # Should make this required iff run=logfile
     parser.add_argument("run_log", nargs="*", type=abs_path,
                         help="Log file from run of tests")
     commandline.add_logging_group(parser)
     return parser