Title: [154074] trunk/Tools
Revision
154074
Author
[email protected]
Date
2013-08-14 14:44:55 -0700 (Wed, 14 Aug 2013)

Log Message

Flakiness dashboard build fix.

* TestResultServer/static-dashboards/flakiness_dashboard.js:
(processTestRunsForBuilder):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (154073 => 154074)


--- trunk/Tools/ChangeLog	2013-08-14 21:36:41 UTC (rev 154073)
+++ trunk/Tools/ChangeLog	2013-08-14 21:44:55 UTC (rev 154074)
@@ -1,3 +1,10 @@
+2013-08-14  Ryosuke Niwa  <[email protected]>
+
+        Flakiness dashboard build fix.
+
+        * TestResultServer/static-dashboards/flakiness_dashboard.js:
+        (processTestRunsForBuilder):
+
 2013-08-14  Martin Robinson  <[email protected]>
 
         [GTK] [CMake] Add support for building TestWebKitAPI

Modified: trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js (154073 => 154074)


--- trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js	2013-08-14 21:36:41 UTC (rev 154073)
+++ trunk/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js	2013-08-14 21:44:55 UTC (rev 154074)
@@ -599,6 +599,9 @@
 // of all tests run on the win-debug builders.
 function allTestsWithSamePlatformAndBuildType(platform, buildType)
 {
+    if (!g_allTestsByPlatformAndBuildType[platform])
+        return {};
+
     if (!g_allTestsByPlatformAndBuildType[platform][buildType]) {
         var tests = {};
         for (var thisBuilder in currentBuilders()) {
@@ -903,6 +906,9 @@
     var buildInfo = platformAndBuildType(builderName);
     var platform = buildInfo.platform;
     var buildType = buildInfo.buildType;
+    if (!platform)
+        return;
+
     processMissingTestsWithExpectations(builderName, platform, buildType);
 
     var failures = [];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to