+2010-10-27 Ojan Vafai <ojan@chromium.org>
+
+ Reviewed by Tony Chang.
+
+ [chromium] add a master-name flag to new-run-webkit-tests
+ https://bugs.webkit.org/show_bug.cgi?id=48488
+
+ The test results server now allows adding a master name to
+ the uploaded files. This lets us distinguish bots that have
+ the same name, but are on different masters.
+
+ * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
+
2010-10-28 Adam Roben <aroben@apple.com>
Don't append a newline to the test output if the frame has no document
_log.info("Uploading JSON files for builder: %s",
self._options.builder_name)
- attrs = [("builder", self._options.builder_name)]
+ attrs = [("builder", self._options.builder_name), ("testtype", "layout-tests")]
+ # FIXME: master_name should be required if test_results_server is set.
+ # Throw an error if master_name isn't set.
+ if self._options.master_name:
+ attrs.append(("master", self._options.master_name))
+
json_files = ["expectations.json"]
if self._options.upload_full_results:
json_files.append("results.json")
# FIXME: Move these into json_results_generator.py
results_json_options = [
+ optparse.make_option("--master-name", help="The name of the buildbot master."),
optparse.make_option("--builder-name", default="DUMMY_BUILDER_NAME",
help=("The name of the builder shown on the waterfall running "
"this script e.g. WebKit.")),