| Index: webkit/tools/layout_tests/flakiness_dashboard.html
|
| ===================================================================
|
| --- webkit/tools/layout_tests/flakiness_dashboard.html (revision 30090)
|
| +++ webkit/tools/layout_tests/flakiness_dashboard.html (working copy)
|
| @@ -514,7 +514,7 @@
|
|
|
| var separator = stringContains(currentState.tests, ' ') ? ' ' : ',';
|
| var testList = currentState.tests.split(separator);
|
| - var tests = [];
|
| + var tests = {};
|
| for (var i = 0; i < testList.length; i++) {
|
| var path = testList[i];
|
|
|
| @@ -523,13 +523,26 @@
|
| continue;
|
|
|
| var allTests = getAllTests();
|
| + var hasAnyMatches = false;
|
| for (var test in allTests) {
|
| if (caseInsensitiveContains(test, path)) {
|
| - tests.push(test);
|
| + tests[test] = 1;
|
| + hasAnyMatches = true;
|
| }
|
| }
|
| +
|
| + // If a path doesn't match any tests, then assume it's a full path
|
| + // to a test that passes on all builders.
|
| + if (!hasAnyMatches) {
|
| + tests[path] = 1;
|
| + }
|
| }
|
| - return tests;
|
| +
|
| + var testsArray = [];
|
| + for (var test in tests) {
|
| + testsArray.push(test);
|
| + }
|
| + return testsArray;
|
| }
|
|
|
| function getAllTestsWithIncorrectExpectations() {
|
|
|