[test] Neuter stack-size for tests incompatible with stack-size fuzzing

These tests require a certain stack-size as otherwise range errors show
up in the test expectations, which are compared verbatim.

Bug: v8:12197
Change-Id: I0e420fe6b03965241003ac69fd7d96fa61682c1d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3147592
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76719}
This commit is contained in:
Michael Achenbach 2021-09-08 11:04:03 +02:00 committed by V8 LUCI CQ
parent 59e4cf11c5
commit 53302d2980
4 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// This neuters too low stack size passed by the flag fuzzer.
// Flags: --stack-size=864
description("This test how deep we can recurse, and that we get an exception when we do, as opposed to a stack overflow.");
function simpleRecursion(depth) {

View File

@ -21,6 +21,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// This neuters too low stack size passed by the flag fuzzer.
// Flags: --stack-size=864
description('Tests to ensure that Function.apply works correctly for Arrays, arguments and array-like objects.');
function argumentsApply1(a, b, c)

View File

@ -21,6 +21,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// This neuters too low stack size passed by the flag fuzzer.
// Flags: --stack-size=864
description(
"This test checks for a specific regression that caused function calls to allocate too many temporary registers."
);

View File

@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This neuters too low stack size passed by the flag fuzzer.
// Flags: --stack-size=864
var nativeJSON = this.JSON;
this.JSON = null;
d8.file.execute("test/webkit/resources/json2-es5-compat.js");