Bug 1141516 - call reportCompare even on early exit. r=luke
authorLars T Hansen <lhansen@mozilla.com>
Tue, 10 Mar 2015 16:35:20 +0100
changeset 232753 08f20332d65dc93b648c6d427dce7ebb2b4647e6
parent 232752 9f47df83a8f6b16c02eadeaa4970b11aeeb51753
child 232754 654836515933a3c1c957bcd50c311957e80887ad
push id56652
push userlhansen@mozilla.com
push dateTue, 10 Mar 2015 15:36:04 +0000
treeherdermozilla-inbound@08f20332d65d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1141516
milestone39.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 1141516 - call reportCompare even on early exit. r=luke
js/src/tests/shell/futex.js
--- a/js/src/tests/shell/futex.js
+++ b/js/src/tests/shell/futex.js
@@ -1,17 +1,19 @@
 // |reftest| skip-if(!xulRuntime.shell)
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /*
  * Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/licenses/publicdomain/
  */
 
-if (!(this.SharedArrayBuffer && this.getSharedArrayBuffer && this.setSharedArrayBuffer))
+if (!(this.SharedArrayBuffer && this.getSharedArrayBuffer && this.setSharedArrayBuffer)) {
+    reportCompare(true,true);
     quit(0);
+}
 
 var DEBUG = false;
 
 function dprint(s) {
     if (DEBUG) print(s);
 }
 
 // Tests the SharedArrayBuffer mailbox in the shell.