Changeset 94868 in webkit
- Timestamp:
- Sep 9, 2011 11:21:54 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
r93942 r94868 316 316 317 317 def evaluateCommand(self, cmd): 318 result = SUCCESS 319 318 320 if self.incorrectLayoutLines: 319 321 if len(self.incorrectLayoutLines) == 1: … … 322 324 return WARNINGS 323 325 324 return FAILURE 326 for line in self.incorrectLayoutLines: 327 if line.find('flakes') >= 0 or line.find('new passes') >= 0 or line.find('missing results') >= 0: 328 result = WARNINGS 329 else: 330 return FAILURE 325 331 326 332 if cmd.rc != 0: 327 333 return FAILURE 328 334 329 return SUCCESS335 return result 330 336 331 337 def getText(self, cmd, results): … … 354 360 logText = cmd.logs['stdio'].getText() 355 361 self._parseNewRunWebKitTestsOutput(logText) 356 357 def evaluateCommand(self, cmd):358 if cmd.rc != 0:359 return FAILURE360 361 result = SUCCESS362 if self.incorrectLayoutLines:363 for line in self.incorrectLayoutLines:364 if line.find('flakes') >= 0 or line.find('new passes') >= 0 or line.find('missing results') >= 0:365 result = WARNINGS366 else:367 return FAILURE368 369 return result370 362 371 363 class RunUnitTests(shell.Test): -
trunk/Tools/ChangeLog
r94867 r94868 1 2011-09-09 Ryosuke Niwa <rniwa@webkit.org> 2 3 Buildbot may use RunWebKitTest's evaluateCommand on bots that run nrwt 4 https://bugs.webkit.org/show_bug.cgi?id=67855 5 6 Reviewed by Dirk Pranke. 7 8 The bug was caused by the fact some ports use RunWebKitTests instead of NewRunWebKitTests to run tests, 9 and using RunWebKitTests.evaluateCommand after calling _parseNewRunWebKitTestsOutput. 10 11 Fixed the bug by merging evaluateCommand of RunWebKitTests and NewRunWebKitTests. 12 13 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 14 1 15 2011-09-09 Mark Hahnenberg <mhahnenberg@apple.com> 2 16
Note: See TracChangeset
for help on using the changeset viewer.