Changeset 88310 in webkit
- Timestamp:
- Jun 7, 2011, 6:37:20 PM (15 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
BuildSlaveSupport/build.webkit.org-config/master.cfg (modified) (1 diff)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
r87176 r88310 268 268 WithProperties("--%(configuration)s")] 269 269 270 def commandComplete(self, cmd): 271 shell.Test.commandComplete(self, cmd) 272 273 logText = cmd.logs['stdio'].getText() 274 incorrectLayoutLines = [] 275 expressions = { 276 'failed': re.compile(r'Regressions: Unexpected.+:?\s*\((\d+)\)'), 277 'were flaky': re.compile(r'Unexpected flakiness.+:?\s*\((\d+)\)'), 278 'new passes': re.compile(r'Expected to .+, but passed:\s+\((\d+)\)'), 279 } 280 testFailures = {} 281 282 for line in logText.splitlines(): 283 if line.find('Exiting early') >= 0: 284 incorrectLayoutLines.append(line) 285 continue 286 for name in expressions: 287 match = expressions[name].search(line) 288 if match: 289 testFailures[name] = testFailures.get(name, 0) + int(match.group(1)) 290 291 # FIXME: Parse file names and put them in results 292 293 for name in testFailures: 294 incorrectLayoutLines.append(str(testFailures[name]) + ' ' + name) 295 296 self.incorrectLayoutLines = incorrectLayoutLines 297 298 def evaluateCommand(self, cmd): 299 if cmd.rc != 0: 300 return FAILURE 301 302 result = SUCCESS 303 if self.incorrectLayoutLines: 304 for line in incorrectLayoutLines: 305 if result != FAILURE and (line.find('were flaky') >= 0 or line.find('passed unexpectedly') >= 0): 306 result = WARNINGS 307 else: 308 result = FAILURE 309 310 return result 270 311 271 312 class RunPythonTests(shell.Test): -
trunk/Tools/ChangeLog
r88287 r88310 1 2011-06-07 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Tony Chang. 4 5 new-run-webkit-tests: Bot master should print useful information on waterfall/console for nrwt 6 https://bugs.webkit.org/show_bug.cgi?id=62178 7 8 Added commandComplete and evaluateCommand for NewRunWebKitTests class 9 to parse new-run-webkit-tests' results. 10 11 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 12 1 13 2011-06-07 Dirk Pranke <dpranke@chromium.org> 2 14
Note:
See TracChangeset
for help on using the changeset viewer.