Skip to content

Commit

Permalink
Run media cluster tests in tv-app in CI. (#19325)
Browse files Browse the repository at this point in the history
* Run media cluster tests in tv-app in CI.

all-clusters-app does not have the media clusters configured in a
spec-compliant way (e.g. is missing mandatory things), and definitely
does not have them implemented in a spec-compliant way.

* Address review comments.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Jun 29, 2022
1 parent adac5f2 commit 2781155
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 38 deletions.
2 changes: 1 addition & 1 deletion scripts/tests/chiptest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def AllTests(chip_tool: str):
if not name:
continue

if name.startswith('TV_'):
if name.startswith('TV_') or name.startswith('Test_TC_MC_'):
target = TestTarget.TV
elif name.startswith('DL_'):
target = TestTarget.LOCK
Expand Down
3 changes: 2 additions & 1 deletion src/app/tests/suites/certification/Test_TC_MC_1_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ name:
config:
nodeId: 0x12344321
cluster: "Application Basic"
endpoint: 1
# Default endpoint is 3, since that's where tv-app has this cluster.
endpoint: 3

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand Down
3 changes: 2 additions & 1 deletion src/app/tests/suites/certification/Test_TC_MC_1_12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ name:
config:
nodeId: 0x12344321
cluster: "Account Login"
endpoint: 1
# Default endpoint is 3, since that's where tv-app has this cluster.
endpoint: 3

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand Down
3 changes: 2 additions & 1 deletion src/app/tests/suites/certification/Test_TC_MC_9_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ name:
config:
nodeId: 0x12344321
cluster: "Application Basic"
endpoint: 1
# Default endpoint is 3, since that's where tv-app has this cluster.
endpoint: 3

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand Down
34 changes: 17 additions & 17 deletions zzz_generated/chip-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2781155

Please sign in to comment.