Skip to content

Commit

Permalink
Disabled test 2_2 for Repl as it used unsupported commands for this t…
Browse files Browse the repository at this point in the history
…est and fixed the yaml for Darwin-framework-tool
  • Loading branch information
lpbeliveau-silabs committed Oct 13, 2023
1 parent 28664a4 commit fadb9d3
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 22 deletions.
7 changes: 1 addition & 6 deletions examples/darwin-framework-tool/templates/tests/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@
"Test_TC_TCTL_2_1",
"Disabled because darwin-framework-tool does not support constraints arithmetic operations",
"Test_TC_FLW_2_1",
"Test_TC_RH_2_1",
"Test_TC_S_1_1",
"Test_TC_S_2_1",
"Test_TC_S_2_2",
"Test_TC_S_2_3",
"Test_TC_S_2_4"
"Test_TC_RH_2_1"
]
}
1 change: 1 addition & 0 deletions scripts/tests/chiptest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def _GetChipReplUnsupportedTests() -> Set[str]:
"Test_TC_ACE_1_6.yaml", # Test fails only in chip-repl: Refer--> https://github.com/project-chip/connectedhomeip/pull/27910#issuecomment-1632485584
"Test_TC_IDM_1_2.yaml", # chip-repl does not support AnyCommands (19/07/2023)
"TestGroupKeyManagementCluster.yaml", # chip-repl does not support EqualityCommands (2023-08-04)
"Test_TC_S_2_2.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
"Test_TC_MOD_3_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
"Test_TC_MOD_3_2.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
"Test_TC_MOD_3_3.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
Expand Down
20 changes: 12 additions & 8 deletions src/app/tests/suites/certification/Test_TC_S_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,18 @@ config:
cluster: "Scenes"
endpoint: 1
G1:
type: int16u
type: group_id
defaultValue: 0x0001
G2:
type: int16u
type: group_id
defaultValue: 0x0002

GroupKeyManagement.Endpoint: 0
Groups.Endpoint: 1
GroupKeyManagement.Endpoint:
type: int16u
defaultValue: 0
Groups.Endpoint:
type: int16u
defaultValue: 0

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand Down Expand Up @@ -1033,7 +1037,7 @@ tests:
response:
values:
- name: "Status"
saveAs: StoreStatus
saveAs: StoredStatus
constraints:
anyOf: [0x00, 0x89]
- name: "GroupID"
Expand All @@ -1052,16 +1056,16 @@ tests:
- name: "Value1"
value: 0x00
- name: "Value2"
value: StoreStatus
value: StoredStatus
response:
- values:
- name: "Equals"
saveAs: ContinueTest
saveAs: ContinueStep14

- label:
"Step 14c: TH sends a GetSceneMembership command to DUT with the
GroupID field set to G2."
runIf: ContinueTest
runIf: ContinueStep14
PICS: S.S.C06.Rsp
command: "GetSceneMembership"
arguments:
Expand Down
7 changes: 5 additions & 2 deletions src/app/tests/suites/certification/Test_TC_S_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ config:
cluster: "Scenes"
endpoint: 1
G1:
type: int16u
type: group_id
defaultValue: 0x0101
GroupKeyManagement.Endpoint: 0

GroupKeyManagement.Endpoint:
type: int16u
defaultValue: 0

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand Down
12 changes: 6 additions & 6 deletions src/app/tests/suites/certification/Test_TC_S_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ PICS:
config:
nodeId: 0x12344321
cluster: "Scenes"
endpoint: 1

GroupKeyManagement.Endpoint: 0
endpoint: 1
G1:
type: int16u
type: group_id
defaultValue: 0x0001
Groups.Endpoint: 1

GroupKeyManagement.Endpoint:
type: int16u
defaultValue: 0

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand Down Expand Up @@ -72,7 +73,6 @@ tests:
- label: "Step 0c: TH sends a RemoveAllGroups command to DUT."
PICS: G.S.C04.Rsp
cluster: "Groups"
endpoint: Groups.Endpoint
command: "RemoveAllGroups"

- label:
Expand Down

0 comments on commit fadb9d3

Please sign in to comment.