Bug 1507635 - Log reftest.manifests and reftest.tests when there is an error with them. r=ahal
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Mon, 19 Nov 2018 17:45:53 +0100
changeset 504166 8b24e89c77f19be4127aa42a998d7ed09c99da10
parent 504165 ab36ef2d6d00c19628ac6742cf55537e5e0d545b
child 504167 da7bf8203ec1bc2c5aa27b88029a0c06036f33a1
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1507635
milestone65.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 1507635 - Log reftest.manifests and reftest.tests when there is an error with them. r=ahal
layout/tools/reftest/reftest.jsm
--- a/layout/tools/reftest/reftest.jsm
+++ b/layout/tools/reftest/reftest.jsm
@@ -358,16 +358,18 @@ function ReadTests() {
          * with python harness.
         */
         let manifests = prefs.getStringPref("reftest.manifests", null);
         let dumpTests = prefs.getStringPref("reftest.manifests.dumpTests", null);
         let testList = prefs.getStringPref("reftest.tests", null);
 
         if ((testList && manifests) || !(testList || manifests)) {
             logger.error("Exactly one of reftest.manifests or reftest.tests must be specified.");
+            logger.debug("reftest.manifests is: " + manifests);
+            logger.error("reftest.tests is: " + testList);
             DoneTests();
         }
 
         if (testList) {
             logger.debug("Reading test objects from: " + testList);
             let promise = OS.File.read(testList).then(function onSuccess(array) {
                 let decoder = new TextDecoder();
                 g.urls = JSON.parse(decoder.decode(array)).map(CreateUrls);