Bug 1317555 - Report jsapi-tests crash in autospider.py. r=glandium
authorTooru Fujisawa <arai_a@mac.com>
Sat, 19 Nov 2016 01:13:19 +0900
changeset 323448 5ff6465aee720453bff02829ff5e73360e5d0c70
parent 323447 cad8259d02777425759f822e4f1c9221c0fc7ceb
child 323449 a40cac8610de8543bf21eecaa91dacf3ed1b73e7
push id30978
push usercbook@mozilla.com
push dateMon, 21 Nov 2016 14:44:46 +0000
treeherdermozilla-central@0534254e9a40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1317555
milestone53.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
Bug 1317555 - Report jsapi-tests crash in autospider.py. r=glandium
js/src/devtools/automation/autospider.py
--- a/js/src/devtools/automation/autospider.py
+++ b/js/src/devtools/automation/autospider.py
@@ -317,17 +317,21 @@ if 'checks' in test_suites:
     results.append(run_test_command([MAKE, 'check']))
 elif 'check-style' in test_suites:
     results.append(run_test_command([MAKE, 'check-style']))
 
 if 'jittest' in test_suites:
     results.append(run_test_command([MAKE, 'check-jit-test']))
 if 'jsapitests' in test_suites:
     jsapi_test_binary = os.path.join(OBJDIR, 'dist', 'bin', 'jsapi-tests')
-    results.append(run_test_command([jsapi_test_binary]))
+    st = run_test_command([jsapi_test_binary])
+    if st < 0:
+        print("PROCESS-CRASH | jsapi-tests | application crashed")
+        print("Return code: {}".format(st))
+    results.append(st)
 if 'jstests' in test_suites:
     results.append(run_test_command([MAKE, 'check-jstests']))
 
 # FIXME bug 1291449: This would be unnecessary if we could run msan with -mllvm
 # -msan-keep-going, but in clang 3.8 it causes a hang during compilation.
 if variant.get('ignore-test-failures'):
     print("Ignoring test results %s" % (results,))
     results = [0]