Three js/regress/string-repeat-* are flaky timeouts on Mac
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Mar 2016 18:16:37 +0000 (18:16 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Mar 2016 18:16:37 +0000 (18:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=156062

Reviewed by Saam Barati.

Reduce the test cases to avoid timeouts.

* js/regress/script-tests/string-repeat-resolving-no-inline.js:
* js/regress/script-tests/string-repeat-resolving.js:
* js/regress/script-tests/string-repeat-small-resolving.js:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198899 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/js/regress/script-tests/string-repeat-resolving-no-inline.js
LayoutTests/js/regress/script-tests/string-repeat-resolving.js
LayoutTests/js/regress/script-tests/string-repeat-small-resolving.js
LayoutTests/platform/mac/TestExpectations

index ce87200..12b235c 100644 (file)
@@ -1,3 +1,17 @@
+2016-03-31  Yusuke Suzuki  <utatane.tea@gmail.com>
+
+        Three js/regress/string-repeat-* are flaky timeouts on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=156062
+
+        Reviewed by Saam Barati.
+
+        Reduce the test cases to avoid timeouts.
+
+        * js/regress/script-tests/string-repeat-resolving-no-inline.js:
+        * js/regress/script-tests/string-repeat-resolving.js:
+        * js/regress/script-tests/string-repeat-small-resolving.js:
+        * platform/mac/TestExpectations:
+
 2016-03-31  Zalan Bujtas  <zalan@apple.com>
 
         Add a -mismatch test case for r198785.
index 9df6571..24e967d 100644 (file)
@@ -6,5 +6,14 @@ function test(str, count)
 }
 noInline(test);
 
-for (var i = 0; i < 1e4; ++i)
+// General cases.
+for (var i = 0; i < 1000; ++i)
     test(i.toString(), i);
+
+// Small cases.
+for (var i = 0; i < 1e4; ++i)
+    test(i.toString(), 5);
+
+// Large cases.
+for (var i = 0; i < 100; ++i)
+    test(i.toString(), 10000);
index f97aed4..401085f 100644 (file)
@@ -5,5 +5,14 @@ function test(str, count)
     return repeated[0] + repeated[count >> 1] + repeated[repeated.length - 1];
 }
 
-for (var i = 0; i < 1e4; ++i)
+// General cases.
+for (var i = 0; i < 1000; ++i)
     test(i.toString(), i);
+
+// Small cases.
+for (var i = 0; i < 1e4; ++i)
+    test(i.toString(), 5);
+
+// Large cases.
+for (var i = 0; i < 100; ++i)
+    test(i.toString(), 10000);
index 9e6836d..c599300 100644 (file)
@@ -5,5 +5,14 @@ function test(str, count)
     return repeated[0] + repeated[count >> 1] + repeated[repeated.length - 1];
 }
 
-for (var i = 0; i < 1e4; ++i)
+// General cases.
+for (var i = 0; i < 1000; ++i)
     test('  ', i);
+
+// Small cases.
+for (var i = 0; i < 1e4; ++i)
+    test('  ', 5);
+
+// Large cases.
+for (var i = 0; i < 100; ++i)
+    test('  ', 10000);
index 982240b..014978c 100644 (file)
@@ -1349,7 +1349,3 @@ webkit.org/b/155505 [ ElCapitan+ ] http/tests/security/contentSecurityPolicy/use
 webkit.org/b/155505 [ ElCapitan+ ] http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-video.html [ Skip ]
 
 webkit.org/b/154688 inspector/controller/runtime-controller.html [ Pass Timeout ]
-
-webkit.org/b/156062 js/regress/string-repeat-resolving-no-inline.html [ Pass Timeout ]
-webkit.org/b/156062 js/regress/string-repeat-resolving.html [ Pass Timeout ]
-webkit.org/b/156062 js/regress/string-repeat-small-resolving.html [ Pass Timeout ]