Permalink
Browse files

mobile browser-chrome tests are failing to go green, even with 0 fail…

…ures. bug 618036, patch=jhford, r=me

--HG--
branch : production-0.7
  • Loading branch information...
escapewindow committed Dec 16, 2010
1 parent 6e1083d commit aff7b268afc7923600e1e36cc6f5dcd28175645e
Showing with 4 additions and 5 deletions.
  1. +4 −5 steps/mobile.py
View
@@ -101,11 +101,10 @@ def evaluateCommand(self, cmd):
return WARNINGS
if self.name.startswith('mochitest') or self.name.startswith('chrome'):
- # Support browser-chrome result summary format which differs
- # from MozillaMochitest's.
- if self.name != 'mochitest-browser-chrome':
- if not re.search('TEST-PASS', cmdText):
- return WARNINGS
+ if not re.search('TEST-PASS', cmdText):
+ return WARNINGS
+ elif self.name.startswith('browser-chrome') and re.search('Failed: 0', cmdText):
+ pass
elif not re.search('INFO Passed: [^0]', cmdText):
return WARNINGS

0 comments on commit aff7b26

Please sign in to comment.