Bug 531479 - Always return exit status of the app, not the stack fixer process. r=dbaron

This commit is contained in:
Jesse Ruderman 2009-11-29 13:29:03 -08:00
Родитель c9bf2aedcd
Коммит d1f7d602e1
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -610,9 +610,9 @@ def runApp(testURL, env, app, profileDir, extraArgs,
if status != 0 and not didTimeout:
log.info("TEST-UNEXPECTED-FAIL | automation.py | Exited with code %d during test run", status)
if stackFixerProcess is not None:
status = stackFixerProcess.wait()
if status != 0 and not didTimeout:
log.info("TEST-UNEXPECTED-FAIL | automation.py | Stack fixer process exited with code %d during test run", status)
fixerStatus = stackFixerProcess.wait()
if fixerStatus != 0 and not didTimeout:
log.info("TEST-UNEXPECTED-FAIL | automation.py | Stack fixer process exited with code %d during test run", fixerStatus)
log.info("INFO | automation.py | Application ran for: %s", str(datetime.now() - startTime))
if checkForCrashes(os.path.join(profileDir, "minidumps"), symbolsPath):