Add es5.1 specific directory in jerry-test-suite (#3567)
since compatibility issues between es5.1 and es6 exist, es5.1 specific directory is newly added which includes es5.1 specific test. JerryScript-DCO-1.0-Signed-off-by: HyukWoo Park hyukwoo.park@samsung.com
This commit is contained in:
committed by
Dániel Bátyai
parent
651b62584a
commit
6c3a42ec48
File diff suppressed because it is too large
Load Diff
+11
-5
@@ -413,21 +413,27 @@ def run_jerry_test_suite(options):
|
||||
if ret_build:
|
||||
break
|
||||
|
||||
skip_list = []
|
||||
|
||||
if '--profile=minimal' in job.build_args:
|
||||
test_cmd.append('--test-list')
|
||||
test_cmd.append(settings.JERRY_TEST_SUITE_MINIMAL_LIST)
|
||||
elif '--profile=es2015-subset' in job.build_args:
|
||||
else:
|
||||
test_cmd.append('--test-dir')
|
||||
test_cmd.append(settings.JERRY_TEST_SUITE_DIR)
|
||||
else:
|
||||
test_cmd.append('--test-list')
|
||||
test_cmd.append(settings.JERRY_TEST_SUITE_ES51_LIST)
|
||||
if '--profile=es2015-subset' in job.build_args:
|
||||
skip_list.append(os.path.join('es5.1', ''))
|
||||
else:
|
||||
skip_list.append(os.path.join('es2015', ''))
|
||||
|
||||
if options.quiet:
|
||||
test_cmd.append("-q")
|
||||
|
||||
if options.skip_list:
|
||||
test_cmd.append("--skip-list=" + options.skip_list)
|
||||
skip_list.append(options.skip_list)
|
||||
|
||||
if skip_list:
|
||||
test_cmd.append("--skip-list=" + ",".join(skip_list))
|
||||
|
||||
if job.test_args:
|
||||
test_cmd.extend(job.test_args)
|
||||
|
||||
@@ -22,7 +22,6 @@ DEBUGGER_TESTS_DIR = path.join(PROJECT_DIR, 'tests/debugger')
|
||||
JERRY_TESTS_DIR = path.join(PROJECT_DIR, 'tests/jerry')
|
||||
JERRY_TEST_SUITE_DIR = path.join(PROJECT_DIR, 'tests/jerry-test-suite')
|
||||
JERRY_TEST_SUITE_MINIMAL_LIST = path.join(PROJECT_DIR, 'tests/jerry-test-suite/minimal-profile-list')
|
||||
JERRY_TEST_SUITE_ES51_LIST = path.join(PROJECT_DIR, 'tests/jerry-test-suite/es51-profile-list')
|
||||
TEST262_TEST_SUITE_DIR = path.join(PROJECT_DIR, 'tests/test262')
|
||||
|
||||
BUILD_SCRIPT = path.join(TOOLS_DIR, 'build.py')
|
||||
|
||||
Reference in New Issue
Block a user