Remove ES_NEXT macro (#4915)

- remove all '#JERRY_ESNEXT' macro
- remove 5.1 build profile, update test runner accordingly (Note: all builtins are turn on by default)
- move tests from tests/jerry/esnext into tests/jerry, concatenate files with same names
- add skiplist to some snapshot tests that were supported only in 5.1
- fix doxygen issues that were hidden before (bc. of es.next macro)

Co-authored-by: Martin Negyokru negyokru@inf.u-szeged.hu
JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
Szilagyi Adam
2022-01-31 16:46:00 +01:00
committed by GitHub
parent 76403606d0
commit 4924f9fd31
973 changed files with 1902 additions and 8240 deletions
+1 -7
View File
@@ -23,15 +23,9 @@ main (void)
TEST_INIT ();
jerry_init (JERRY_INIT_EMPTY);
if (!jerry_feature_enabled (JERRY_FEATURE_SYMBOL))
{
jerry_log (JERRY_LOG_LEVEL_ERROR, "ES.next support is disabled\n");
jerry_cleanup ();
return 0;
}
jerry_value_t undefined_this_arg = jerry_undefined ();
char pattern2[] = "\\u{61}.\\u{62}";
uint16_t flags = JERRY_REGEXP_FLAG_DOTALL | JERRY_REGEXP_FLAG_UNICODE | JERRY_REGEXP_FLAG_STICKY;
jerry_value_t regex_obj = jerry_regexp_sz (pattern2, flags);
TEST_ASSERT (jerry_value_is_object (regex_obj));