Skip to content

Commit 1cb18f0

Browse files
author
Dániel Bátyai
authored
Run tests with mem-stress-test enabled (#4278)
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
1 parent 89ff0fc commit 1cb18f0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/run-tests.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def skip_if(condition, desc):
3939
OPTIONS_PROFILE_ESNEXT = ['--profile=es.next']
4040
OPTIONS_STACK_LIMIT = ['--stack-limit=96']
4141
OPTIONS_GC_MARK_LIMIT = ['--gc-mark-limit=16']
42+
OPTIONS_MEM_STRESS = ['--mem-stress-test=on']
4243
OPTIONS_DEBUG = ['--debug']
4344
OPTIONS_SNAPSHOT = ['--snapshot-save=on', '--snapshot-exec=on', '--jerry-cmdline-snapshot=on']
4445
OPTIONS_UNITTESTS = ['--unittests=on', '--jerry-cmdline=off', '--error-messages=on',
@@ -76,14 +77,16 @@ def skip_if(condition, desc):
7677
# Test options for jerry-tests
7778
JERRY_TESTS_OPTIONS = [
7879
Options('jerry_tests-es.next-debug',
79-
OPTIONS_COMMON + OPTIONS_PROFILE_ESNEXT + OPTIONS_DEBUG + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT),
80+
OPTIONS_COMMON + OPTIONS_PROFILE_ESNEXT + OPTIONS_DEBUG + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT
81+
+ OPTIONS_MEM_STRESS),
8082
Options('jerry_tests-es5.1',
8183
OPTIONS_COMMON + OPTIONS_PROFILE_ES51 + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT),
8284
Options('jerry_tests-es5.1-snapshot',
8385
OPTIONS_COMMON + OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT,
8486
['--snapshot']),
8587
Options('jerry_tests-es5.1-debug',
86-
OPTIONS_COMMON + OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT),
88+
OPTIONS_COMMON + OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT
89+
+ OPTIONS_MEM_STRESS),
8790
Options('jerry_tests-es5.1-debug-snapshot',
8891
OPTIONS_COMMON + OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT + OPTIONS_DEBUG + OPTIONS_STACK_LIMIT
8992
+ OPTIONS_GC_MARK_LIMIT, ['--snapshot']),

0 commit comments

Comments
 (0)