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
+14 -17
View File
@@ -182,26 +182,23 @@ main (void)
jerry_value_free (object);
}
if (jerry_feature_enabled (JERRY_FEATURE_SYMBOL))
{
object = create_object ("'use strict'\n"
"var sym = Symbol();\n"
"({ pp:sym, [sym]:'Prop' })");
object = create_object ("'use strict'\n"
"var sym = Symbol();\n"
"({ pp:sym, [sym]:'Prop' })");
found = false;
jerry_value_t symbol = jerry_object_find_own (object, pp_string, object, &found);
TEST_ASSERT (jerry_value_is_symbol (symbol));
TEST_ASSERT (found);
found = false;
jerry_value_t symbol = jerry_object_find_own (object, pp_string, object, &found);
TEST_ASSERT (jerry_value_is_symbol (symbol));
TEST_ASSERT (found);
found = false;
result = jerry_object_find_own (object, symbol, object, &found);
compare_string (result, "Prop");
TEST_ASSERT (found);
jerry_value_free (result);
found = false;
result = jerry_object_find_own (object, symbol, object, &found);
compare_string (result, "Prop");
TEST_ASSERT (found);
jerry_value_free (result);
jerry_value_free (symbol);
jerry_value_free (object);
}
jerry_value_free (symbol);
jerry_value_free (object);
jerry_value_free (pp_string);
jerry_value_free (qq_string);