Bug 814011 - Robocop should output the runTests() return code for that batch of tests, if non-zero; r=gbrown

This commit is contained in:
Ed Morley 2012-11-21 18:57:11 +00:00
parent b927c05c37
commit 66ea187ed4

View File

@ -497,6 +497,8 @@ def main():
try:
dm.recordLogcat()
result = mochitest.runTests(options)
if result != 0:
print "ERROR: runTests() exited with code %s" % result
# Ensure earlier failures aren't overwritten by success on this run
if retVal is None or retVal == 0:
retVal = result