From 8e97e6c272d1fb76e188022fde3382f300b0bbdd Mon Sep 17 00:00:00 2001 From: Viktoria Shirunova Date: Thu, 22 May 2025 18:24:59 +0300 Subject: [PATCH] Rename ets-cts to arkts-cts Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IC9SFH Testing: All required pre-merge tests passed. Results are available in the ggwatcher. Signed-off-by: Viktoria Shirunova --- ets2panda/scripts/es2panda_pre_test.py | 8 ++++---- ets2panda/scripts/run-tests | 4 ++-- ets2panda/scripts/test_runner.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ets2panda/scripts/es2panda_pre_test.py b/ets2panda/scripts/es2panda_pre_test.py index 1faa5be6e2..5f83435fd1 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 0ed59701aa..89c97a8441 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 ef803386e6..f9e8714d45 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__': -- Gitee