Fix regressions in garden-o-matic after r116988.
authordpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 May 2012 21:25:09 +0000 (21:25 +0000)
committerdpranke@chromium.org <dpranke@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 May 2012 21:25:09 +0000 (21:25 +0000)
Unreviewed, build fix.

I had a typo in a field name in checkout.js, and unfortunately
the unittests had the same typo :(.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
(.):
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@117002 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js
Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js
Tools/ChangeLog

index becc93e..24c03e4 100644 (file)
@@ -103,7 +103,7 @@ checkout.rebaseline = function(failureInfoList, callback, progressCallback, chec
 {
     callIfCheckoutAvailable(function() {
         base.callInSequence(function(failureInfo, callback) {
-            var suffixes = base.uniquifyArray(base.flattenArray(failureInfo.failureInfoList.map(results.failureTypeToExtensionList))).join(',');
+            var suffixes = base.uniquifyArray(base.flattenArray(failureInfo.failureTypeList.map(results.failureTypeToExtensionList))).join(',');
 
             net.post(config.kLocalServerURL + '/rebaseline?' + $.param({
                 'builder': failureInfo.builderName,
@@ -118,7 +118,7 @@ checkout.rebaseline = function(failureInfoList, callback, progressCallback, chec
             var testNameList = base.uniquifyArray(failureInfoList.map(function(failureInfo) { return failureInfo.testName; }));
             var suffixes = base.uniquifyArray(base.flattenArray(
                 failureInfoList.map(function(failureInfo) {
-                    return base.flattenArray(failureInfo.failureInfoList.map(results.failureTypeToExtensionList))
+                    return base.flattenArray(failureInfo.failureTypeList.map(results.failureTypeToExtensionList))
                 }))).join(',');
             base.callInSequence(function(testName, callback) { checkout.optimizeBaselines(testName, suffixes, callback)}, testNameList, callback);
         });
index bd66d9a..30ecbf3 100644 (file)
@@ -97,15 +97,15 @@ test("rebaseline", 6, function() {
         checkout.rebaseline([{
             'builderName': 'WebKit Linux',
             'testName': 'another/test.svg',
-            'failureInfoList': ['IMAGE'],
+            'failureTypeList': ['IMAGE'],
         }, {
             'builderName': 'WebKit Mac10.6',
             'testName': 'another/test.svg',
-            'failureInfoList': ['IMAGE', 'TEXT', 'IMAGE+TEXT'],
+            'failureTypeList': ['IMAGE', 'TEXT', 'IMAGE+TEXT'],
         }, {
             'builderName': 'Webkit Vista',
             'testName': 'fast/test.html',
-            'failureInfoList': ['IMAGE+TEXT'],
+            'failureTypeList': ['IMAGE+TEXT'],
         }], function() {
             ok(true);
         }, function(failureInfo) {
index 887bda5..a443f93 100644 (file)
@@ -1,5 +1,18 @@
 2012-05-14  Dirk Pranke  <dpranke@chromium.org>
 
+        Fix regressions in garden-o-matic after r116988.
+
+        Unreviewed, build fix.
+
+        I had a typo in a field name in checkout.js, and unfortunately
+        the unittests had the same typo :(.
+
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
+        (.):
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:
+
+2012-05-14  Dirk Pranke  <dpranke@chromium.org>
+
         garden-o-matic should specify which types of baselines to rebaseline
         https://bugs.webkit.org/show_bug.cgi?id=86242