Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Merging from default\n
Browse files Browse the repository at this point in the history
changeset:   1595:68f3606bd6a9
parent:      1593:77e1896a4700
user:        Lukas Blakk <lsblakk@mozilla.com>
date:        Wed Jun 08 11:17:10 2011 +0200
summary:     Bug 649402 - make try mandatory, removes the -a 'do everything' option p=lsblakk r=rail

changeset:   1596:89bda47f09ef
tag:         tip
user:        Mike Taylor <bear@mozilla.com>
date:        Wed Jun 08 11:02:30 2011 -0400
summary:     bug 643607 r=bear bustage fix: put the browser-chrome checks back into the non-remote steps

--HG--
branch : production-0.8
  • Loading branch information
Mike Taylor committed Jun 8, 2011
2 parents 3e48f2f + e75cbda commit 675f980
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
9 changes: 7 additions & 2 deletions steps/unittest.py
Expand Up @@ -120,6 +120,9 @@ def summarizeLog(name, log, successIdent, failureIdent, otherIdent, infoRe):


def summarizeLogMochitest(name, log): def summarizeLogMochitest(name, log):
infoRe = r"\d+ INFO (Passed|Failed|Todo):\ +(\d+)" infoRe = r"\d+ INFO (Passed|Failed|Todo):\ +(\d+)"
# Support browser-chrome result summary format which differs from MozillaMochitest's.
if name == 'mochitest-browser-chrome':
infoRe = r"\t(Passed|Failed|Todo): (\d+)"


return summarizeLog( return summarizeLog(
name, log, "Passed", "Failed", "Todo", name, log, "Passed", "Failed", "Todo",
Expand Down Expand Up @@ -266,8 +269,10 @@ def evaluateRemoteMochitest(name, log, superResult):
if superResult != SUCCESS: if superResult != SUCCESS:
return superResult return superResult


failIdent = r"^\tFailed: 0" failIdent = r"^\d+ INFO Failed: 0"

# Support browser-chrome result summary format which differs from MozillaMochitest's.
if 'browser-chrome' in name:
failIdent = r"^\tFailed: 0"
# Assume that having the 'failIdent' line # Assume that having the 'failIdent' line
# means the tests run completed (successfully). # means the tests run completed (successfully).
# Also check for "^TEST-UNEXPECTED-" for harness errors. # Also check for "^TEST-UNEXPECTED-" for harness errors.
Expand Down
10 changes: 0 additions & 10 deletions try_parser.py
Expand Up @@ -109,10 +109,6 @@ def TryParser(message, builderNames, prettyNames, unittestPrettyNames=None, unit
and tryParse populates the list with the builderNames\ and tryParse populates the list with the builderNames\
that need schedulers.') that need schedulers.')


parser.add_argument('--do-everything', '-a',
action='store_true',
dest='do_everything',
help='m-c override to do all builds, tests, talos just like a trunk push')
parser.add_argument('--build', '-b', parser.add_argument('--build', '-b',
default='do', default='do',
dest='build', dest='build',
Expand All @@ -132,12 +128,6 @@ def TryParser(message, builderNames, prettyNames, unittestPrettyNames=None, unit


(options, unknown_args) = parser.parse_known_args(processMessage(message)) (options, unknown_args) = parser.parse_known_args(processMessage(message))


if options.do_everything:
options.build = ['opt', 'debug']
options.user_platforms = 'all'
options.test = 'all'
options.talos = 'all'

# Build options include a possible override of 'all' to get a buildset that matches m-c # Build options include a possible override of 'all' to get a buildset that matches m-c
if options.build == 'do' or options.build == 'od': if options.build == 'do' or options.build == 'od':
options.build = ['opt', 'debug'] options.build = ['opt', 'debug']
Expand Down

0 comments on commit 675f980

Please sign in to comment.