changeset 20942:385b0ab4ecdd

8026309: latest runsunspider.js tests contains several bugs Reviewed-by: sundar, lagergren Contributed-by: james.laskey@oracle.com
author jlaskey
date Fri, 11 Oct 2013 14:54:16 +0200
parents 9ed46c9b07cc
children 183832541ef7
files nashorn/test/script/basic/runsunspider.js
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/nashorn/test/script/basic/runsunspider.js	Fri Oct 11 14:11:14 2013 +0200
+++ b/nashorn/test/script/basic/runsunspider.js	Fri Oct 11 14:54:16 2013 +0200
@@ -205,7 +205,7 @@
           return ret;
       },
       expected: function() {
-            return -1.3524862408537381;
+            return -0.16906933525822856;
       }
     },
     { name: 'access-binary-trees.js',
@@ -213,7 +213,7 @@
           return ret;
       },
       expected: function() {
-          return -4;
+          return -1;
       }
     },
     { name: 'access-fannkuch.js',
@@ -244,6 +244,7 @@
           return 230692593;
       }
     },
+    /* Test is broken (not initializing dnaOutputString to "")
     { name: 'regexp-dna.js',
       actual: function() {
           return dnaOutputString;
@@ -252,6 +253,7 @@
           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;