-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.webkit.org/dashboard: Don't repeatedly handle each test type
https://bugs.webkit.org/show_bug.cgi?id=142211 Reviewed by Tim Horton and Matt Hanson. * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js: (Buildbot.prototype.javascriptTestResultsURLForIteration): Deleted. (Buildbot.prototype.apiTestResultsURLForIteration): Deleted. (Buildbot.prototype.platformAPITestResultsURLForIteration): Deleted. (Buildbot.prototype.webkitpyTestResultsURLForIteration): Deleted. (Buildbot.prototype.webkitperlTestResultsURLForIteration): Deleted. (Buildbot.prototype.bindingsTestResultsURLForIteration): Deleted. Removed functions that build a link to test step results. The buildbot provides these links in JSON. * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: (BuildbotIteration): Put failing tests into an array, instead of named variables. (BuildbotIteration.ProductiveSteps): Removed step names that are not used on build.webkit.org. We can easily add them to the map as needed. (BuildbotIteration.TestSteps): Added a list of test steps to be displayed by test queues. (BuildbotIteration.prototype._parseData): Moved code for parsing step results away to BuildbotTestResults class. We used to parse here, build an intermediate data structure, and then build a BuildbotTestResults object, which was strange. (BuildbotIteration.prototype.loadLayoutTestResults): Ditto. * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js: Corrected an unrelated assertion that was buggy, and kept firing. * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js: (BuildbotTestResults): (BuildbotTestResults.prototype._parseResults.resultSummarizer): (BuildbotTestResults.prototype._parseResults): (BuildbotTestResults.prototype.addFullLayoutTestResults): Moved the code for parsing JSON results for a single step here. * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js: (BuildbotTesterQueueView.prototype._testStepFailureDescription): (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount): (BuildbotTesterQueueView.prototype._presentPopoverForGenericTestFailures): (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus): Deleted. (BuildbotTesterQueueView.prototype.update): Deleted. (BuildbotTesterQueueView.prototype._presentPopoverForMultipleFailureKinds): Deleted. Updated for the new data structures. One behavior change is that we now display individual counts when multiple test kinds fail, e.g. "1Â javascript test failure, 83+Â layout test failures, 3Â platform api test failures". Canonical link: https://commits.webkit.org/160283@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@180959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
20c6782
commit 523e6ef
Showing
6 changed files
with
271 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.