Changeset 268526 in webkit
- Timestamp:
- Oct 15, 2020 9:27:48 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r267862 r268526 1996 1996 1997 1997 for line in self.incorrectLayoutLines: 1998 if line.find('flakes') >= 0 or line.find('new passes') >= 0 or line.find('missing results') >= 0:1998 if line.find('flakes') >= 0 or line.find('new passes') >= 0: 1999 1999 result = WARNINGS 2000 elif line.find('missing results') >= 0: 2001 return FAILURE 2000 2002 else: 2001 2003 return FAILURE -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r267737 r268526 1592 1592 ''' 1593 1593 1594 self.results_with_missing_results = '''ADD_RESULTS({"tests":{"http":{"wpt":{"css":{"css-highlight-api":{"highlight-image-expected-mismatched.html":{"report":"MISSING","expected":"PASS","is_missing_text":true,"actual":"MISSING"},"highlight-image.html":{"report":"MISSING","expected":"PASS","is_missing_text":true,"actual":"MISSING"}}}}}}, "interrupted":false}); 1595 ''' 1596 1594 1597 return self.setUpBuildStep() 1595 1598 … … 1738 1741 self.assertEqual(self.getProperty(self.property_exceed_failure_limit), False) 1739 1742 self.assertEqual(self.getProperty(self.property_failures), ['fast/scrolling/ios/reconcile-layer-position-recursive.html']) 1743 return rc 1744 1745 def test_parse_results_json_with_missing_results(self): 1746 self.configureStep() 1747 self.setProperty('fullPlatform', 'ios-simulator') 1748 self.setProperty('configuration', 'release') 1749 self.expectRemoteCommands( 1750 ExpectShell(workdir='wkdir', 1751 logfiles={'json': self.jsonFileName}, 1752 logEnviron=False, 1753 command=['python', 'Tools/Scripts/run-webkit-tests', '--no-build', '--no-show-results', '--no-new-test-results', '--clobber-old-results', '--release', '--results-directory', 'layout-test-results', '--debug-rwt-logging', '--exit-after-n-failures', '30', '--skip-failing-tests'], 1754 ) 1755 + 2 1756 + ExpectShell.log('json', stdout=self.results_with_missing_results), 1757 ) 1758 self.expectOutcome(result=FAILURE, state_string='layout-tests (failure)') 1759 rc = self.runStep() 1760 self.assertEqual(self.getProperty(self.property_exceed_failure_limit), False) 1761 self.assertEqual(self.getProperty(self.property_failures), 1762 ['http/wpt/css/css-highlight-api/highlight-image-expected-mismatched.html', 1763 'http/wpt/css/css-highlight-api/highlight-image.html']) 1740 1764 return rc 1741 1765 -
trunk/Tools/ChangeLog
r268518 r268526 1 2020-10-15 Aakash Jain <aakash_jain@apple.com> 2 3 EWS bot should fail if a new test is missing its result 4 https://bugs.webkit.org/show_bug.cgi?id=177723 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 (RunWebKitTests.evaluateResult): 10 * BuildSlaveSupport/ews-build/steps_unittest.py: Added unit-test. 11 1 12 2020-10-15 Lauro Moura <lmoura@igalia.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.