Title: [154377] trunk/LayoutTests
Revision
154377
Author
[email protected]
Date
2013-08-20 16:52:50 -0700 (Tue, 20 Aug 2013)

Log Message

fast/js/regress/emscripten-cube2hash is failing on all the Mac bots
https://bugs.webkit.org/show_bug.cgi?id=120083

Unreviewed.
        
Fixed the test to work in web mode and removed the failure expectation.

* fast/js/regress/script-tests/emscripten-cube2hash.js:
(else.Module.string_appeared_here):
* platform/mac/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (154376 => 154377)


--- trunk/LayoutTests/ChangeLog	2013-08-20 23:50:41 UTC (rev 154376)
+++ trunk/LayoutTests/ChangeLog	2013-08-20 23:52:50 UTC (rev 154377)
@@ -1,5 +1,18 @@
 2013-08-20  Filip Pizlo  <[email protected]>
 
+        fast/js/regress/emscripten-cube2hash is failing on all the Mac bots
+        https://bugs.webkit.org/show_bug.cgi?id=120083
+
+        Unreviewed.
+        
+        Fixed the test to work in web mode and removed the failure expectation.
+
+        * fast/js/regress/script-tests/emscripten-cube2hash.js:
+        (else.Module.string_appeared_here):
+        * platform/mac/TestExpectations:
+
+2013-08-20  Filip Pizlo  <[email protected]>
+
         Add emscripten memops benchmark.
 
         Rubber stamped by Oliver Hunt.

Modified: trunk/LayoutTests/fast/js/regress/script-tests/emscripten-cube2hash.js (154376 => 154377)


--- trunk/LayoutTests/fast/js/regress/script-tests/emscripten-cube2hash.js	2013-08-20 23:50:41 UTC (rev 154376)
+++ trunk/LayoutTests/fast/js/regress/script-tests/emscripten-cube2hash.js	2013-08-20 23:52:50 UTC (rev 154377)
@@ -101,8 +101,13 @@
     Module['arguments'] = arguments;
   }
   if (ENVIRONMENT_IS_WEB) {
-    Module['print'] = function(x) {
-      console.log(x);
+    Module['print'] = function() {
+      for (var i = 0; i < arguments.length; ++i) {
+          if (i)
+              JSRegress_outputBuffer += " ";
+          JSRegress_outputBuffer += arguments[i];
+      }
+      JSRegress_outputBuffer += "\n";      
     };
     Module['printErr'] = function(x) {
       console.log(x);
@@ -8496,7 +8501,7 @@
   assert(__ATPRERUN__.length == 0, 'cannot call main when preRun functions remain to be called');
   args = args || [];
   if (ENVIRONMENT_IS_WEB && preloadStartTime !== null) {
-    Module.printErr('preload time: ' + (Date.now() - preloadStartTime) + ' ms');
+    //Module.printErr('preload time: ' + (Date.now() - preloadStartTime) + ' ms');
   }
   ensureInitRuntime();
   var argc = args.length+1;

Modified: trunk/LayoutTests/platform/mac/TestExpectations (154376 => 154377)


--- trunk/LayoutTests/platform/mac/TestExpectations	2013-08-20 23:50:41 UTC (rev 154376)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2013-08-20 23:52:50 UTC (rev 154377)
@@ -1313,5 +1313,3 @@
 webkit.org/b/120087 [ Lion ] fast/forms/submit-to-url-fragment.html [ Pass Crash ]
 
 webkit.org/b/120086 http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html [ Failure ]
-
-webkit.org/b/120083 fast/js/regress/emscripten-cube2hash.html [ Failure ]
\ No newline at end of file
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to