8026498: Revert: latest runsunspider.js tests contains several bugs
authorjlaskey
Tue, 15 Oct 2013 13:14:04 -0300
changeset 20947 ab64f6cdcad0
parent 20946 bd3d6e87ec6b
child 20948 7e8f7dee247e
child 20949 b230767d5d40
8026498: Revert: latest runsunspider.js tests contains several bugs Reviewed-by: sundar, hannesw Contributed-by: james.laskey@oracle.com
nashorn/test/script/basic/runsunspider.js
--- a/nashorn/test/script/basic/runsunspider.js	Tue Oct 15 17:37:47 2013 +0200
+++ b/nashorn/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;