Bug 1343872 - fix "file not found" error of crash reporter by supplying correct arguments. r=jorgk
authorTom Prince <mozilla@hocat.ca>
Sat, 24 Jun 2017 17:06:00 +0200
changeset 28388 2a185ec18e89412466841a9755c49561f05bf142
parent 28387 530a4148e236774c49fe403e4fc5a2d191762474
child 28389 f5993e08263baca97c525e9b9405d2fe0d184ee1
push id1986
push userclokep@gmail.com
push dateWed, 02 Aug 2017 14:43:31 +0000
treeherdercomm-beta@b51c9adf2c9e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1343872
Bug 1343872 - fix "file not found" error of crash reporter by supplying correct arguments. r=jorgk
mail/test/mozmill/runtest.py
--- a/mail/test/mozmill/runtest.py
+++ b/mail/test/mozmill/runtest.py
@@ -505,18 +505,19 @@ def dumpRichResults():
             if len(result['fails']) > 0:
                 for failure in result['fails']:
                     failure['fileName'] = prettifyFilename(result['filename'], 2)
                     failure['testName'] = result['name']
                     print json.dumps(failure)
         print '##### MOZMILL-RICH-FAILURES-END #####'
 
 def checkCrashesAtExit():
-    if mozcrash.check_for_crashes(os.path.join(PROFILE_DIR, 'minidumps'), SYMBOLS_PATH,
-                                  TEST_NAME):
+    if mozcrash.check_for_crashes(dump_directory=os.path.join(PROFILE_DIR, 'minidumps'),
+                                  symbols_path=SYMBOLS_PATH,
+                                  test_name=TEST_NAME):
         print >> sys.stderr, 'TinderboxPrint: ' + TEST_NAME + '<br/><em class="testfail">CRASH</em>'
         sys.exit(1)
 
 if __name__ == '__main__':
     # Too bad atexit doesn't return a non-zero exit code when it encounters an
     # exception in a handler.
     try:
         ThunderTestCLI().run()