зеркало из https://github.com/mozilla/gecko-dev.git
Bug 469523 - Enable TUnit leak log in tinderbox (log); (Ev1) Support xpcshell built without leak logging; (Thunderbird bustage fix)
This commit is contained in:
Родитель
00b0be93ae
Коммит
c6ae4ba1ac
|
@ -194,7 +194,9 @@ def runTests(xpcshell, testdirs=[], xrePath=None, testFile=None,
|
|||
print "TEST-PASS | %s | all tests passed" % test
|
||||
processLeakLog(leakLogFile)
|
||||
# Remove the leak detection file (here) so it can't "leak" to the next test.
|
||||
os.remove(leakLogFile)
|
||||
# The file is not there if leak logging was not enabled in the xpcshell build.
|
||||
if os.path.exists(leakLogFile):
|
||||
os.remove(leakLogFile)
|
||||
if not (success or keepGoing):
|
||||
return False
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче