From 4e78ebfb579a77e63064b112641f5f6d4bf10d32 Mon Sep 17 00:00:00 2001 From: EricZijian_SiterWell Date: Fri, 8 Sep 2023 00:43:42 +0800 Subject: [PATCH] Change chip-tool.py to chip-tool (#29081) Co-authored-by: Hare --- .../certification/Test_TC_SMOKECO_2_2.yaml | 6 +-- .../certification/Test_TC_SMOKECO_2_3.yaml | 6 +-- .../certification/Test_TC_SMOKECO_2_4.yaml | 16 +++---- .../certification/Test_TC_SMOKECO_2_5.yaml | 44 +++++++++---------- .../certification/Test_TC_SMOKECO_2_6.yaml | 20 ++++----- 5 files changed, 46 insertions(+), 46 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml index fbd307e0a0928a..efe21c12ec5090 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml @@ -105,7 +105,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 1 @@ -191,7 +191,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 2 @@ -242,7 +242,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 0 diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml index 9e6430731dce5d..eb98f64d53f4b0 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml @@ -104,7 +104,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 1 @@ -190,7 +190,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 2 @@ -241,7 +241,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 0 diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml index 7333b55fd247b4..d9374a8fa82a78 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml @@ -117,7 +117,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read battery-alert 1 1 + ./chip-tool smokecoalarm read battery-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 1 @@ -168,7 +168,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read battery-alert 1 1 + ./chip-tool smokecoalarm read battery-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 2 @@ -219,7 +219,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read battery-alert 1 1 + ./chip-tool smokecoalarm read battery-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 0 @@ -281,7 +281,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read hardware-fault-alert 1 1 + ./chip-tool smokecoalarm read hardware-fault-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0006 DataVersion: 1795725838 [TOO] HardwareFaultAlert: TRUE @@ -333,7 +333,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read hardware-fault-alert 1 1 + ./chip-tool smokecoalarm read hardware-fault-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0006 DataVersion: 1795725838 [TOO] HardwareFaultAlert: FALSE @@ -395,7 +395,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read end-of-service-alert 1 1 + ./chip-tool smokecoalarm read end-of-service-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0007 DataVersion: 1795725838 [TOO] EndOfServiceAlert: 1 @@ -447,7 +447,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read end-of-service-alert 1 1 + ./chip-tool smokecoalarm read end-of-service-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0007 DataVersion: 1795725838 [TOO] EndOfServiceAlert: 0 @@ -577,7 +577,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read test-in-progress 1 1 + ./chip-tool smokecoalarm read test-in-progress 1 1 This step needs to be completed quickly diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml index f44ce08ab77d82..8fb355e1ed18dd 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml @@ -152,7 +152,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-smoke-alarm 1 1 + ./chip-tool smokecoalarm read interconnect-smoke-alarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838 [TOO] InterconnectSmokeAlarm: 1 @@ -204,7 +204,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-smoke-alarm 1 1 + ./chip-tool smokecoalarm read interconnect-smoke-alarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838 [TOO] InterconnectSmokeAlarm: 0 @@ -275,7 +275,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-coalarm 1 1 + ./chip-tool smokecoalarm read interconnect-coalarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838 [TOO] InterconnectCOAlarm: 1 @@ -327,7 +327,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-coalarm 1 1 + ./chip-tool smokecoalarm read interconnect-coalarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838 [TOO] InterconnectCOAlarm: 0 @@ -390,7 +390,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read contamination-state 1 1 + ./chip-tool smokecoalarm read contamination-state 1 1 Verify that the value of ContaminationState is 2 or 3 @@ -427,7 +427,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read contamination-state 1 1 + ./chip-tool smokecoalarm read contamination-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838 [TOO] ContaminationState: 0 @@ -462,7 +462,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read contamination-state 1 1 + ./chip-tool smokecoalarm read contamination-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838 [TOO] ContaminationState: 1 @@ -497,7 +497,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read contamination-state 1 1 + ./chip-tool smokecoalarm read contamination-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838 [TOO] ContaminationState: 0 @@ -544,7 +544,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1 + ./chip-tool smokecoalarm read smoke-sensitivity-level 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 0 @@ -579,7 +579,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1 + ./chip-tool smokecoalarm read smoke-sensitivity-level 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 1 @@ -614,7 +614,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1 + ./chip-tool smokecoalarm read smoke-sensitivity-level 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 2 @@ -649,7 +649,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1 + ./chip-tool smokecoalarm read smoke-sensitivity-level 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838 [TOO] SmokeSensitivityLevel: 1 @@ -716,7 +716,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 1 @@ -757,7 +757,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read device-muted 1 1 + ./chip-tool smokecoalarm read device-muted 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 1 @@ -800,7 +800,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read device-muted 1 1 + ./chip-tool smokecoalarm read device-muted 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 0 @@ -851,7 +851,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 2 @@ -928,7 +928,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 0 @@ -984,7 +984,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 1 @@ -1025,7 +1025,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read device-muted 1 1 + ./chip-tool smokecoalarm read device-muted 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 1 @@ -1068,7 +1068,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read device-muted 1 1 + ./chip-tool smokecoalarm read device-muted 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838 [TOO] DeviceMuted: 0 @@ -1119,7 +1119,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 2 @@ -1196,7 +1196,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 0 diff --git a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_6.yaml b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_6.yaml index f5106b7f316591..00ecd8b85a63b2 100644 --- a/src/app/tests/suites/certification/Test_TC_SMOKECO_2_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_SMOKECO_2_6.yaml @@ -188,7 +188,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read battery-alert 1 1 + ./chip-tool smokecoalarm read battery-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 1 @@ -231,7 +231,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-smoke-alarm 1 1 + ./chip-tool smokecoalarm read interconnect-smoke-alarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838 [TOO] InterconnectSmokeAlarm: 1 @@ -272,7 +272,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-coalarm 1 1 + ./chip-tool smokecoalarm read interconnect-coalarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838 [TOO] InterconnectCOAlarm: 1 @@ -313,7 +313,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 1 @@ -354,7 +354,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 1 @@ -397,7 +397,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read smoke-state 1 1 + ./chip-tool smokecoalarm read smoke-state 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838 [TOO] SmokeState: 0 @@ -447,7 +447,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read costate 1 1 + ./chip-tool smokecoalarm read costate 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838 [TOO] COState: 0 @@ -498,7 +498,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-coalarm 1 1 + ./chip-tool smokecoalarm read interconnect-coalarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838 [TOO] InterconnectCOAlarm: 0 @@ -550,7 +550,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read interconnect-smoke-alarm 1 1 + ./chip-tool smokecoalarm read interconnect-smoke-alarm 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838 [TOO] InterconnectSmokeAlarm: 0 @@ -600,7 +600,7 @@ tests: cluster: "LogCommands" command: "UserPrompt" verification: | - ./chip-tool.py smokecoalarm read battery-alert 1 1 + ./chip-tool smokecoalarm read battery-alert 1 1 [TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838 [TOO] BatteryAlert: 0