--engine parameter should be a file (#4585)

The --test262-object option should be passed independently,
otherwise os.path.dirname(args.engine) in tools\runners\run-test-suite-test262.py
makes no sense

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo
2021-02-09 18:02:26 +00:00
committed by GitHub
parent 818cc8ddab
commit 3df7998084
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -426,7 +426,8 @@ def run_test262_test_suite(options):
test_cmd = util.get_python_cmd_prefix() + [
settings.TEST262_RUNNER_SCRIPT,
'--engine', get_binary_path(build_dir_path) + " --test262-object",
'--engine', get_binary_path(build_dir_path),
'--test262-object',
'--test-dir', settings.TEST262_TEST_SUITE_DIR
]