Skip to content

Commit

Permalink
Initial draft of TC-TIMESYNC-1.1 (#26349)
Browse files Browse the repository at this point in the history
* Do Not submit: Initial draft of TC-TIMESYNC-1.1

NOTE: THIS TEST WILL NOT WORK UNTIL THE SDK IMPL IS DONE.
      The intent is to allow the SDK developers to test against
      this test as they develop.

* Add TC-TIMESYNC-1.1 to the in-development test list

This means it will be excluded from the CI, but still present for
use in the TE

* Restyled by whitespace

* Restyled by prettier-json

* Restyled by prettier-yaml

* Pull in controller-clusters.zap from #26082

* Add client pics

* Fix in development test parsing for non hardcoded

* zappity zappity zap - it mus be appeased.

* zap...why are you like this.

* Fix controller clusters

* re-zap

* Why were these missing in the first place?

* Generated or hardcoded? Why not both?

* Add test to the disabled list for darwin

* regen again. Hoping the 10th time's the charm

* Fix revision, add event list

* Restyled by autopep8

* Merge conflict. again.

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Feb 6, 2024
1 parent 3a10507 commit 9678749
Show file tree
Hide file tree
Showing 12 changed files with 4,885 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/darwin-framework-tool/templates/tests/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"Test_TC_ACL_2_8",
"Test_TC_ACL_2_9",
"Test_TC_ACL_2_10",
"DL_LockUnlock"
"DL_LockUnlock",
"Test_TC_TIMESYNC_1_1"
]
}
10 changes: 8 additions & 2 deletions scripts/tests/chiptest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def _GetInDevelopmentTests() -> Set[str]:
"Test_AddNewFabricFromExistingFabric.yaml", # chip-repl does not support GetCommissionerRootCertificate and IssueNocChain command
"TestEqualities.yaml", # chip-repl does not support pseudo-cluster commands that return a value
"TestExampleCluster.yaml", # chip-repl does not load custom pseudo clusters
"TestClientMonitoringCluster.yaml" # Client Monitoring Tests need a rework after the XML update
"TestClientMonitoringCluster.yaml", # Client Monitoring Tests need a rework after the XML update
"Test_TC_TIMESYNC_1_1.yaml" # Time sync SDK is not yet ready
}


Expand Down Expand Up @@ -187,14 +188,19 @@ def tests_with_command(chip_tool: str, is_manual: bool):
if is_manual:
test_tags.add(TestTag.MANUAL)

in_development_tests = [s.replace(".yaml", "") for s in _GetInDevelopmentTests()]

for name in result.stdout.decode("utf8").split("\n"):
if not name:
continue

target = target_for_name(name)
tags = test_tags.copy()
if name in in_development_tests:
tags.add(TestTag.IN_DEVELOPMENT)

yield TestDefinition(
run_name=name, name=name, target=target, tags=test_tags
run_name=name, name=name, target=target, tags=tags
)


Expand Down
Loading

0 comments on commit 9678749

Please sign in to comment.