diff --git a/ets2panda/scripts/es2panda_pre_test.py b/ets2panda/scripts/es2panda_pre_test.py index 1faa5be6e27d5afbe15022a75fc3658378314a85..5f83435fd10441cb82074b896cf1d76215511687 100644 --- a/ets2panda/scripts/es2panda_pre_test.py +++ b/ets2panda/scripts/es2panda_pre_test.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright (c) 2022-2024 Huawei Device Co., Ltd. +# Copyright (c) 2022-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -141,8 +141,8 @@ def main(): functional_log = command_runner(functional_test_run_command, TestTypes.NORMAL) - # Run Ets-cts test - ets_cts_test_run_command = command_helper + ["--ets-cts"] + # Run arkts-cts test + ets_cts_test_run_command = command_helper + ["--arkts-cts"] ets_cts_log = command_runner(ets_cts_test_run_command, TestTypes.NORMAL) @@ -169,7 +169,7 @@ def main(): print(f"\nFunctional test results:") print_summary(functional_log, ["Summary("]) - print(f"\nEts-cts test results:") + print(f"\narkts-cts test results:") print_summary(ets_cts_log, ["New failures at", "Summary("]) print(f"\nClang-format results:") diff --git a/ets2panda/scripts/run-tests b/ets2panda/scripts/run-tests index 0ed59701aa836ae88ffbe798d2a05aa7874f5915..89c97a8441be5cacbd8bbbfd0cc98ddd02da574a 100755 --- a/ets2panda/scripts/run-tests +++ b/ets2panda/scripts/run-tests @@ -214,7 +214,7 @@ if [[ "$RUN_CTS" == 'yes' ]]; then # ArkTS CTS: ${TEST_RUNNER} --build-dir "$BUILD_DIR" \ --processes=all --force-generate \ - --ets-cts + --arkts-cts fi if [[ "$PARSER" == 'yes' ]]; then @@ -222,4 +222,4 @@ if [[ "$PARSER" == 'yes' ]]; then ${TEST_RUNNER} --build-dir "$BUILD_DIR" \ --processes=all --force-generate \ --parser --no-js -fi \ No newline at end of file +fi diff --git a/ets2panda/scripts/test_runner.py b/ets2panda/scripts/test_runner.py index ef803386e600151cc10435a9af4da385b9ee252f..f9e8714d452c3018edb4b995e1995bedbcaa81c9 100644 --- a/ets2panda/scripts/test_runner.py +++ b/ets2panda/scripts/test_runner.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright (c) 2023-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -82,7 +82,7 @@ def main(): if options.test262: res = subprocess.call(general_cmd + ['--test262']) if options.cts: - res = subprocess.call(general_cmd + ['--ets-cts']) + res = subprocess.call(general_cmd + ['--arkts-cts']) if __name__ == '__main__':