-
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
Proposal for TC_CC_2.1 #37328
Proposal for TC_CC_2.1 #37328
Conversation
PR #37328: Size comparison from 3044eeb to 36b94e4 Increases above 0.2%:
Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #37328: Size comparison from f7226c1 to a835fd4 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Changes approved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes has been made, PR approved
src/python_testing/TC_CC_2_1.py
Outdated
self.step(24) | ||
numberofprimaries_value = await self._verify_attribute("NumberOfPrimaries", self.UINT16, max_len=6) | ||
|
||
# verify for numberofprimaries section |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current test plan here is very confusing because it was written to match to the YAML style of tests, which don't support looping. But you can just do a for loop here.
for i in range(1, num_primaries):
verifiy primary i x, y, intensity
for i in range(num_primaries + 1, 6):
verify primaries i x, y, intensity don't exist
e484e93
to
cf45d5d
Compare
Testing
Removed pics
Verified attributes using
attribute_guard
Proposal for Test case for Color Control 2.2 ( TC_CC_2.1)
The following test evaluates the attributes to the conformance.
How to to run:
Run all clusters.
./out/linux-x64-all-clusters/chip-all-clusters-app
Run the test case:
python3 src/python_testing/TC_CC_2_1.py --commissioning-method on-network --qr-code MT:-24J0AFN00KA0648G00 --PICS src/app/tests/suites/certification/ci-pics-values
All attributes must be present.
There is a conversation right now about the attribute
NumberOfPrimaries
where the value should not be 0. Currently the change is not implemented. Until the change is implemented this test case will need to be updated.https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/9103