-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[matter_yamltests] Add an abstract interface for pseudo clusters and a base class to register/use them #24620
Merged
vivien-apple
merged 1 commit into
project-chip:master
from
vivien-apple:YamlTests_AbstractInterfaceForTestClusters
Jan 25, 2023
Merged
[matter_yamltests] Add an abstract interface for pseudo clusters and a base class to register/use them #24620
vivien-apple
merged 1 commit into
project-chip:master
from
vivien-apple:YamlTests_AbstractInterfaceForTestClusters
Jan 25, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vivien-apple
force-pushed
the
YamlTests_AbstractInterfaceForTestClusters
branch
3 times, most recently
from
January 24, 2023 16:09
0005dfc
to
a2bfb5b
Compare
pullapprove
bot
requested review from
amitnj,
andy31415,
anush-apple,
arkq,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
CodeChronos928,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
franck-apple,
gjc13,
harimau-qirex,
harsha-rajendran,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jmeg-sfy and
jtung-apple
January 24, 2023 16:09
pullapprove
bot
requested review from
saurabhst,
selissia,
tcarmelveilleux,
tecimovic,
turon,
vijs,
woody-apple,
xylophone21 and
yunhanw-google
January 24, 2023 16:09
PR #24620: Size comparison from 57cd02e to a2bfb5b Increases (8 builds for cc13x2_26x2, esp32, psoc6, qpg, telink)
Decreases (7 builds for cc13x2_26x2, cyw30739, qpg, telink)
Full report (54 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
tehampson
reviewed
Jan 24, 2023
scripts/py_matter_yamlclusters/matter_yamlclusters/cluster/delay_commands.py
Outdated
Show resolved
Hide resolved
tehampson
reviewed
Jan 24, 2023
vivien-apple
force-pushed
the
YamlTests_AbstractInterfaceForTestClusters
branch
from
January 24, 2023 17:39
a2bfb5b
to
1c0c924
Compare
tehampson
reviewed
Jan 24, 2023
vivien-apple
force-pushed
the
YamlTests_AbstractInterfaceForTestClusters
branch
from
January 25, 2023 11:51
1c0c924
to
66bab82
Compare
vivien-apple
force-pushed
the
YamlTests_AbstractInterfaceForTestClusters
branch
from
January 25, 2023 11:55
66bab82
to
eda2f73
Compare
PR #24620: Size comparison from 6e12e92 to eda2f73 Increases (2 builds for cc13x2_26x2, psoc6)
Decreases (7 builds for bl702, cc13x2_26x2, esp32, telink)
Full report (43 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
tehampson
reviewed
Jan 25, 2023
scripts/py_matter_yamltests/matter_yamltests/pseudo_clusters/clusters/log_commands.py
Show resolved
Hide resolved
tehampson
approved these changes
Jan 25, 2023
bzbarsky-apple
approved these changes
Jan 25, 2023
21 tasks
lecndav
pushed a commit
to lecndav/connectedhomeip
that referenced
this pull request
Mar 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The YAML tests use some "fake" cluster for doing things that are not part of the specifications, such as
rebooting
a node, or waiting for a certain amount of time.Those are custom implementation that does not lives onto the target of the test.
This PR adds an abstract class to
matter_yamltests
as well as a custom implementation of those clusters. The custom implementation lives into its own package since different consumer ofmatter_yamltests
may do different things (e.g there is no mechanism to reboot a real world device directly, while it can be done in CI, hence the different implementations that may exists for CI vs certification).