changeset 637:b3ee112a328e

8026498: Revert: latest runsunspider.js tests contains several bugs Reviewed-by: sundar, hannesw Contributed-by: james.laskey@oracle.com
author jlaskey
date Tue, 15 Oct 2013 13:14:04 -0300
parents aa452eb4a5d0
children 9a13e95cc40f 1899da5c71d3
files test/script/basic/runsunspider.js
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/script/basic/runsunspider.js	Tue Oct 15 17:37:47 2013 +0200
+++ b/test/script/basic/runsunspider.js	Tue Oct 15 13:14:04 2013 -0300
@@ -205,7 +205,7 @@
           return ret;
       },
       expected: function() {
-            return -0.16906933525822856;
+            return -1.3524862408537381;
       }
     },
     { name: 'access-binary-trees.js',
@@ -213,7 +213,7 @@
           return ret;
       },
       expected: function() {
-          return -1;
+          return -4;
       }
     },
     { name: 'access-fannkuch.js',
@@ -244,7 +244,6 @@
           return 230692593;
       }
     },
-    /* Test is broken (not initializing dnaOutputString to "")
     { name: 'regexp-dna.js',
       actual: function() {
           return dnaOutputString;
@@ -253,7 +252,6 @@
           return "agggtaaa|tttaccct 0\n[cgt]gggtaaa|tttaccc[acg] 9\na[act]ggtaaa|tttacc[agt]t 27\nag[act]gtaaa|tttac[agt]ct 24\nagg[act]taaa|ttta[agt]cct 30\naggg[acg]aaa|ttt[cgt]ccct 9\nagggt[cgt]aa|tt[acg]accct 12\nagggta[cgt]a|t[acg]taccct 9\nagggtaa[cgt]|[acg]ttaccct 15\n";
       }
     },
-    */
     { name: 'math-cordic.js',
       actual: function() {
           return total;