[JSC] stress/array-prototype-concat-of-long-spliced-arrays2.js times out on arm and...
authordinfuehr@igalia.com <dinfuehr@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2018 20:09:03 +0000 (20:09 +0000)
committerdinfuehr@igalia.com <dinfuehr@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2018 20:09:03 +0000 (20:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=190611

Reviewed by Saam Barati.

Reduce array length just like in array-prototype-concat-of-long-spliced-arrays.js
to improve test runtime. On ARM/MIPS this test even timed out when running all
tests.

* stress/array-prototype-concat-of-long-spliced-arrays2.js:
(test):

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

JSTests/ChangeLog
JSTests/stress/array-prototype-concat-of-long-spliced-arrays2.js

index 792d09d..d5cc61a 100644 (file)
@@ -1,3 +1,17 @@
+2018-10-16  Dominik Infuehr  <dinfuehr@igalia.com>
+
+        [JSC] stress/array-prototype-concat-of-long-spliced-arrays2.js times out on arm and mips
+        https://bugs.webkit.org/show_bug.cgi?id=190611
+
+        Reviewed by Saam Barati.
+
+        Reduce array length just like in array-prototype-concat-of-long-spliced-arrays.js
+        to improve test runtime. On ARM/MIPS this test even timed out when running all
+        tests.
+
+        * stress/array-prototype-concat-of-long-spliced-arrays2.js:
+        (test):
+
 2018-10-15  Guillaume Emont  <guijemont@igalia.com>
 
         Skip stress/array-prototype-concat-of-long-spliced-arrays2.js on arm and mips/linux
index 3fc0598..425baab 100644 (file)
@@ -1,7 +1,3 @@
-// [JSC] stress/array-prototype-concat-of-long-spliced-arrays2.js times out on arm
-// https://bugs.webkit.org/show_bug.cgi?id=190611
-//@ skip if ["arm", "mips"].include?($architecture) and $hostOS == "linux"
-
 function shouldEqual(actual, expected) {
     if (actual != expected) {
         throw "ERROR: expect " + expected + ", actual " + actual;
@@ -12,7 +8,7 @@ function test() {
     var exception;
     try {
         var a = [];
-        a.length = 0xffffff00;
+        a.length = 0x1fff00;
 
         var b = a.splice(0, 0x100000); // Undecided array