Bug 1280362 - Remove the dead getFailedCases shell.js function. r=arai
authorJeff Walden <jwalden@mit.edu>
Mon, 25 Apr 2016 15:09:39 -0700
changeset 302851 c003801a25c1b00e584a2c9402d064d761ce654e
parent 302850 4e274e923823aca8d389c42c6e148df0cd4d78e9
child 302852 cbf85303aeb2cea6326574a39db03dad860b578f
push id30376
push usercbook@mozilla.com
push dateTue, 28 Jun 2016 14:09:36 +0000
treeherdermozilla-central@e45890951ce7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1280362
milestone50.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 1280362 - Remove the dead getFailedCases shell.js function. r=arai
js/src/jit-test/tests/auto-regress/bug746376.js
js/src/tests/shell.js
--- a/js/src/jit-test/tests/auto-regress/bug746376.js
+++ b/js/src/jit-test/tests/auto-regress/bug746376.js
@@ -23,20 +23,17 @@ function reportCompare (expected, actual
   testcase.reason = output;
     if (testcase.passed)     {    }
   return testcase.passed;
 }
 function enterFunc (funcName) {
   var lastFunc = callStack.pop();
       reportCompare(funcName, lastFunc, "Test driver failure wrong exit function ");
 }
-function getTestCaseResult(expected, actual)
-function getFailedCases() {
-  for ( var i = 0; i < gTestcases.length; i++ ) {}
-};
+function getTestCaseResult(expected, actual) {}
 var lfcode = new Array();
 lfcode.push("\
 var summary = 'decompilation of \"let with with\" ';\
 var actual = '';\
 var expect = '';\
 test();\
 function test() {\
   enterFunc ('test');\
--- a/js/src/tests/shell.js
+++ b/js/src/tests/shell.js
@@ -835,30 +835,16 @@ function writeHeaderToLog( string ) {
 
 function stopTest() {
   var gc;
   if ( gc != undefined ) {
     gc();
   }
 }
 
-/*
- * Convenience function for displaying failed test cases.  Useful
- * when running tests manually.
- *
- */
-function getFailedCases() {
-  for ( var i = 0; i < gTestcases.length; i++ ) {
-    if ( ! gTestcases[i].passed ) {
-      print( gTestcases[i].description + " = " +gTestcases[i].actual +
-             " expected: " + gTestcases[i].expect );
-    }
-  }
-}
-
 function jsTestDriverEnd()
 {
   // gDelayTestDriverEnd is used to
   // delay collection of the test result and
   // signal to Spider so that tests can continue
   // to run after page load has fired. They are
   // responsible for setting gDelayTestDriverEnd = true
   // then when completed, setting gDelayTestDriverEnd = false