Fix the ESNext build with disabled JERRY_BUILTIN_PROXY (#4320)

With a disabled JERRY_BUILTIN_PROXY option the build fails becouse
of missing guards.

The run-test buildoption_test is also extended with this.

JerryScript-DCO-1.0-Signed-off-by: Adam Kallai kadam@inf.u-szeged.hu
This commit is contained in:
Ádám Kallai
2020-11-02 09:30:43 +01:00
committed by GitHub
parent 11f7463986
commit d0e385f9eb
4 changed files with 12 additions and 4 deletions
+2
View File
@@ -166,6 +166,8 @@ JERRY_BUILDOPTIONS = [
['--jerry-debugger=on']),
Options('buildoption_test-module-off',
['--compile-flag=-DJERRY_MODULE_SYSTEM=0', '--lto=off']),
Options('buildoption_test-builtin-proxy-off',
['--compile-flag=-DJERRY_BUILTIN_PROXY=0']),
]
def get_arguments():