From c57938e0c706f8602bd82a17044556eb9fb4627c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20Osztrogon=C3=A1c?= Date: Mon, 16 Nov 2020 11:52:35 +0100 Subject: [PATCH] Run test262-esnext tests with larger heap (#4337) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit built-ins/RegExp/CharacterClassEscapes tests need more memory than 512Kb. Additionally increase the timeout to make all tests pass on GitHub CI. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác csaba.osztrogonac@h-lab.eu --- tests/test262-esnext-excludelist.xml | 8 -------- tools/run-tests.py | 3 ++- tools/runners/run-test-suite-test262.py | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/tests/test262-esnext-excludelist.xml b/tests/test262-esnext-excludelist.xml index e6d1fe4af..923aed867 100644 --- a/tests/test262-esnext-excludelist.xml +++ b/tests/test262-esnext-excludelist.xml @@ -113,14 +113,6 @@ - - - - - - - - diff --git a/tools/run-tests.py b/tools/run-tests.py index 3316e7716..46f5d5466 100755 --- a/tools/run-tests.py +++ b/tools/run-tests.py @@ -108,7 +108,8 @@ TEST262_ES2015_TEST_SUITE_OPTIONS = [ # Test options for test262-esnext TEST262_ESNEXT_TEST_SUITE_OPTIONS = [ - Options('test262_tests_esnext', OPTIONS_PROFILE_ESNEXT + ['--line-info=on', '--error-messages=on']), + Options('test262_tests_esnext', OPTIONS_PROFILE_ESNEXT + + ['--line-info=on', '--error-messages=on', '--mem-heap=20480']), ] # Test options for jerry-debugger diff --git a/tools/runners/run-test-suite-test262.py b/tools/runners/run-test-suite-test262.py index ff7bb4c08..020b6548e 100755 --- a/tools/runners/run-test-suite-test262.py +++ b/tools/runners/run-test-suite-test262.py @@ -176,7 +176,7 @@ def main(args): if args.es2015 or args.esnext: try: subprocess.check_output(["timeout", "--version"]) - command = "timeout 3 " + command + command = "timeout 5 " + command except subprocess.CalledProcessError: pass