No bug - Fix bustage from bug 889076 (no crash stacks for xpcshell tests). r=bustage, a=test-only
authorTed Mielczarek <ted@mielczarek.org>
Thu, 15 Aug 2013 15:01:08 -0400
changeset 153753 70b5b81a8707f042c73f19adbae14599b6acd054
parent 153752 97e2b45e1c744a85292258643fd1f7ff2c4928df
child 153754 076585f4a41ad28f9f2d9577185bc2d8e762b99a
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage, test-only
bugs889076
milestone25.0a2
No bug - Fix bustage from bug 889076 (no crash stacks for xpcshell tests). r=bustage, a=test-only
testing/xpcshell/runxpcshelltests.py
--- a/testing/xpcshell/runxpcshelltests.py
+++ b/testing/xpcshell/runxpcshelltests.py
@@ -1018,17 +1018,17 @@ class XPCShellTests(object):
                 xunit_result["passed"] = True
 
                 if expected:
                     self.passCount += 1
                 else:
                     self.todoCount += 1
                     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
                 xunit_result["passed"] = False
                 xunit_result["failure"] = {
                     "type": "PROCESS-CRASH",
                     "message": message,
                     "text": stdout
                 }