Bug 469523 - Enable TUnit leak log in tinderbox (log); (Ev1) Support xpcshell built without leak logging; (Thunderbird bustage fix)

This commit is contained in:
Serge Gautherie 2009-03-28 03:00:14 +01:00
parent 6db1e49847
commit 8d0d24c138

View File

@ -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