@@ -36,7 +36,7 @@ def skip_if(condition, desc):
3636OPTIONS_PROFILE_MIN = ['--profile=minimal' ]
3737OPTIONS_PROFILE_ES51 = [] # NOTE: same as ['--profile=es5.1']
3838OPTIONS_PROFILE_ES2015 = ['--profile=es2015-subset' ]
39- OPTIONS_VM_RECURSION_LIMIT = ['--vm-recursion -limit=1000 ' ]
39+ OPTIONS_CALL_STACK_LIMIT = ['--call-stack -limit=100 ' ]
4040OPTIONS_DEBUG = ['--debug' ]
4141OPTIONS_SNAPSHOT = ['--snapshot-save=on' , '--snapshot-exec=on' , '--jerry-cmdline-snapshot=on' ]
4242OPTIONS_UNITTESTS = ['--unittests=on' , '--jerry-cmdline=off' , '--error-messages=on' ,
@@ -68,22 +68,22 @@ def skip_if(condition, desc):
6868# Test options for jerry-tests
6969JERRY_TESTS_OPTIONS = [
7070 Options ('jerry_tests-es5.1' ,
71- OPTIONS_PROFILE_ES51 + OPTIONS_VM_RECURSION_LIMIT ),
71+ OPTIONS_PROFILE_ES51 + OPTIONS_CALL_STACK_LIMIT ),
7272 Options ('jerry_tests-es5.1-snapshot' ,
73- OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT + OPTIONS_VM_RECURSION_LIMIT ,
73+ OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT + OPTIONS_CALL_STACK_LIMIT ,
7474 ['--snapshot' ]),
7575 Options ('jerry_tests-es5.1-debug' ,
76- OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_VM_RECURSION_LIMIT ),
76+ OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_CALL_STACK_LIMIT ),
7777 Options ('jerry_tests-es5.1-debug-snapshot' ,
78- OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT + OPTIONS_DEBUG + OPTIONS_VM_RECURSION_LIMIT ,
78+ OPTIONS_PROFILE_ES51 + OPTIONS_SNAPSHOT + OPTIONS_DEBUG + OPTIONS_CALL_STACK_LIMIT ,
7979 ['--snapshot' ]),
8080 Options ('jerry_tests-es5.1-debug-cpointer_32bit' ,
81- OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_VM_RECURSION_LIMIT
81+ OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_CALL_STACK_LIMIT
8282 + ['--cpointer-32bit=on' , '--mem-heap=1024' ]),
8383 Options ('jerry_tests-es5.1-debug-external_context' ,
84- OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_VM_RECURSION_LIMIT + ['--external-context=on' ]),
84+ OPTIONS_PROFILE_ES51 + OPTIONS_DEBUG + OPTIONS_CALL_STACK_LIMIT + ['--external-context=on' ]),
8585 Options ('jerry_tests-es2015_subset-debug' ,
86- OPTIONS_PROFILE_ES2015 + OPTIONS_DEBUG + OPTIONS_VM_RECURSION_LIMIT ),
86+ OPTIONS_PROFILE_ES2015 + OPTIONS_DEBUG + OPTIONS_CALL_STACK_LIMIT ),
8787]
8888
8989# Test options for jerry-test-suite
@@ -160,7 +160,7 @@ def skip_if(condition, desc):
160160 Options ('buildoption_test-regexp_recursion_limit' ,
161161 ['--regexp-recursion-limit=1000' ]),
162162 Options ('buildoption_test-vm_recursion_limit' ,
163- OPTIONS_VM_RECURSION_LIMIT ),
163+ OPTIONS_CALL_STACK_LIMIT ),
164164 Options ('buildoption_test-single-source' ,
165165 ['--cmake-param=-DENABLE_ALL_IN_ONE_SOURCE=ON' ]),
166166]
0 commit comments