-
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
[Fix] Possible fix for matter-test-scripts issue #228: Remove PICS from RVC tests #34181
base: master
Are you sure you want to change the base?
Changes from 13 commits
5048552
fd9f558
3881efe
f871894
a9b96f7
4f912dd
242a564
66f8e00
f55030c
2ed9e31
e6ce20e
d43154a
8ef7176
d46ab09
2f8c4bc
fd40db1
53e2575
26985ab
454ddd8
221bc8c
9c4e4e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,15 +107,11 @@ async def test_TC_RVCCLEANM_2_2(self): | |
self.directmodech_bit_mask = Clusters.RvcCleanMode.Bitmaps.Feature.kDirectModeChange | ||
self.endpoint = self.matter_test_config.endpoint | ||
self.is_ci = self.check_pics("PICS_SDK_CI_ONLY") | ||
app_pid = self.matter_test_config.app_pid | ||
if self.is_ci: | ||
app_pid = self.matter_test_config.app_pid | ||
if app_pid == 0: | ||
asserts.fail("The --app-pid flag must be set when PICS_SDK_CI_ONLY is set.c") | ||
self.app_pipe = self.app_pipe + str(app_pid) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that this is needed as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you, you are indeed correct that was definitely needed in there and not sure how I had deleted it. |
||
|
||
asserts.assert_true(self.check_pics("RVCCLEANM.S"), "RVCCLEANM.S must be supported") | ||
asserts.assert_true(self.check_pics("RVCRUNM.S.A0000"), "RVCRUNM.S.A0000 must be supported") | ||
asserts.assert_true(self.check_pics("RVCRUNM.S.A0001"), "RVCRUNM.S.A0001 must be supported") | ||
asserts.fail("The --app-pid flag must be set when PICS_SDK_CI_ONLY is set") | ||
|
||
self.print_step(1, "Commissioning, already done") | ||
|
||
|
@@ -125,8 +121,10 @@ async def test_TC_RVCCLEANM_2_2(self): | |
|
||
self.print_step( | ||
2, "Manually put the device in a state in which the RVC Run Mode cluster’s CurrentMode attribute is set to a mode without the Idle mode tag.") | ||
|
||
if self.is_ci: | ||
await self.send_run_change_to_mode_cmd(1) | ||
|
||
else: | ||
self.wait_for_user_input( | ||
prompt_msg="Manually put the device in a state in which the RVC Run Mode cluster’s CurrentMode attribute is set to a mode without the Idle mode tag, and press Enter when done.") | ||
|
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.
I think that this is needed as
write_to_app_pipe
is used later without specifying theapp_pipe_name
. See here.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.
Thank you @hicklin,
You are correct that was definitely needed in there and not sure how I had deleted it.
However, I have returned it to the code now.