[chiptool.py] chiptool.py tests
command missing support for several command line arguments used by Matter TH
#26303
Labels
yaml
Missing features or bugs in the YAML test harness
Reproduction steps / Feature
Steps to reproduce:
Build
chip-tool
andchip-all-clusters-app
in SDK RepoRun
chip-all-clusters-app
Perform "paring" using
chiptool.py
from same ethernetAttempt to run a test case Matter TH:
./scripts/tests/yaml/chiptool.py tests Test_TC_ACE_1_1 \ --nodeId 0x12344321 \ --delayInMs 250 \ --timeout 900 \ --continueOnFailure 1 \ --trace_file "/tmp/trace_log_TEST_Test_TC_ACE_1_1.log" \ --trace_decode 1
Note that this fails with error:
I tried removing the parameters one at a time, and verified that the following arguments are not supported:
--delayInMs
--timeout
--continueOnFailure
--trace_file
--trace_decode
Note:
--nodeId
is supported, but never works as it raises aTypeError
no matter the format of the value:Platform
python
Platform Version(s)
No response
Type
Manually tested with SDK
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
continueOnFailure
anddelayInMs
commands are implemented here forchip-tool
binary:https://github.com/project-chip/connectedhomeip/blob/77d72a84039fea5b551378d9f7d5119f5d9a16ab/examples/chip-tool/commands/tests/TestCommand.h#L52C1-L54
timeout
is defined here forchip-tool
binary:https://github.com/project-chip/connectedhomeip/blob/77d72a84039fea5b551378d9f7d5119f5d9a16ab/examples/chip-tool/commands/clusters/ModelCommand.h#LL52C1-L52C1
The text was updated successfully, but these errors were encountered: