Title: [171241] trunk
Revision
171241
Author
[email protected]
Date
2014-07-18 13:54:24 -0700 (Fri, 18 Jul 2014)

Log Message

Exception fuzzing should work on iOS
https://bugs.webkit.org/show_bug.cgi?id=135070

Reviewed by Mark Hahnenberg.


Source/_javascript_Core: 
* tests/exceptionFuzz.yaml:

Tools: 
* Scripts/jsc-stress-test-helpers/js-exception-fuzz:
(fail):
* Scripts/run-jsc-stress-tests:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (171240 => 171241)


--- trunk/Source/_javascript_Core/ChangeLog	2014-07-18 20:50:11 UTC (rev 171240)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-07-18 20:54:24 UTC (rev 171241)
@@ -1,5 +1,14 @@
 2014-07-18  Filip Pizlo  <[email protected]>
 
+        Exception fuzzing should work on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=135070
+
+        Reviewed by Mark Hahnenberg.
+
+        * tests/exceptionFuzz.yaml:
+
+2014-07-18  Filip Pizlo  <[email protected]>
+
         Fix cloop build.
 
         * jsc.cpp:

Modified: trunk/Source/_javascript_Core/tests/exceptionFuzz.yaml (171240 => 171241)


--- trunk/Source/_javascript_Core/tests/exceptionFuzz.yaml	2014-07-18 20:50:11 UTC (rev 171240)
+++ trunk/Source/_javascript_Core/tests/exceptionFuzz.yaml	2014-07-18 20:54:24 UTC (rev 171241)
@@ -22,9 +22,4 @@
 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 - path: exceptionFuzz
-  cmd: |
-      if $architecture !~ /x86/i and $hostOS == "darwin"
-          skip
-      else
-          runExceptionFuzz
-      end
+  cmd: runExceptionFuzz

Modified: trunk/Tools/ChangeLog (171240 => 171241)


--- trunk/Tools/ChangeLog	2014-07-18 20:50:11 UTC (rev 171240)
+++ trunk/Tools/ChangeLog	2014-07-18 20:54:24 UTC (rev 171241)
@@ -1,5 +1,16 @@
 2014-07-18  Filip Pizlo  <[email protected]>
 
+        Exception fuzzing should work on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=135070
+
+        Reviewed by Mark Hahnenberg.
+
+        * Scripts/jsc-stress-test-helpers/js-exception-fuzz:
+        (fail):
+        * Scripts/run-jsc-stress-tests:
+
+2014-07-18  Filip Pizlo  <[email protected]>
+
         run-jsc-stress-tests should be able to run helper-based tests in remote mode
         https://bugs.webkit.org/show_bug.cgi?id=135064
 

Modified: trunk/Tools/Scripts/jsc-stress-test-helpers/js-exception-fuzz (171240 => 171241)


--- trunk/Tools/Scripts/jsc-stress-test-helpers/js-exception-fuzz	2014-07-18 20:50:11 UTC (rev 171240)
+++ trunk/Tools/Scripts/jsc-stress-test-helpers/js-exception-fuzz	2014-07-18 20:54:24 UTC (rev 171241)
@@ -62,8 +62,8 @@
 
 sub fail {
     my $context = shift;
-    flush STDOUT;
-    flush STDERR;
+    select((select(STDOUT), $ |= 1)[0]); # This is a perlism for flush. We need to do it this way to support older perls.
+    select((select(STDERR), $ |= 1)[0]);
     die "Failure for command $commandString with seed $seed, repeat $repeat: $context";
 }
 

Modified: trunk/Tools/Scripts/run-jsc-stress-tests (171240 => 171241)


--- trunk/Tools/Scripts/run-jsc-stress-tests	2014-07-18 20:50:11 UTC (rev 171240)
+++ trunk/Tools/Scripts/run-jsc-stress-tests	2014-07-18 20:54:24 UTC (rev 171241)
@@ -1395,6 +1395,7 @@
 
 clean($outputDir + "failed")
 clean($outputDir + ".vm")
+clean($outputDir + ".helpers")
 clean($outputDir + ".runner")
 clean($outputDir + ".tests")
 clean($outputDir + "_payload")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to