Fix bustage from bug 889076 (no crash stacks for xpcshell tests), no bug, r=bustage
authorTed Mielczarek <ted@mielczarek.org>
Thu, 15 Aug 2013 15:01:08 -0400
changeset 155700 971beabe02374e5b479f54fb025aa7829e5bae49
parent 155699 eba687b0842e08891dc1a07716ea77d81ed45dbc
child 155701 af6e46ed8494cb96cf23c611cfae039555ada961
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs889076
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix bustage from bug 889076 (no crash stacks for xpcshell tests), no bug, r=bustage
testing/xpcshell/runxpcshelltests.py
--- a/testing/xpcshell/runxpcshelltests.py
+++ b/testing/xpcshell/runxpcshelltests.py
@@ -509,17 +509,17 @@ class XPCShellTestThread(Thread):
                 self.xunit_result["passed"] = True
 
                 if expected:
                     self.passCount = 1
                 else:
                     self.todoCount = 1
                     self.xunit_result["todo"] = True
 
-            if mozcrash.check_for_crashes(test_dir, self.symbolsPath, test_name=name):
+            if mozcrash.check_for_crashes(self.tempDir, self.symbolsPath, test_name=name):
                 message = "PROCESS-CRASH | %s | application crashed" % name
                 self.failCount = 1
                 self.xunit_result["passed"] = False
                 self.xunit_result["failure"] = {
                     "type": "PROCESS-CRASH",
                     "message": message,
                     "text": stdout
                 }