Skip to content

Commit 011fa5b

Browse files
make icd-registration happen with lit only
1 parent 44f74b4 commit 011fa5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/tests/chiptest/test_definition.py

+2
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ def Run(self, runner, apps_register, paths: ApplicationPaths, pics_file: str,
374374
else:
375375
pairing_cmd = paths.chip_tool_with_python_cmd + \
376376
['pairing', 'code', TEST_NODE_ID, setupCode, '--icd-registration', 'true']
377+
if self.target == TestTarget.LIT_ICD:
378+
pairing_cmd += ['--icd-registration', 'true']
377379
test_cmd = paths.chip_tool_with_python_cmd + ['tests', self.run_name] + ['--PICS', pics_file]
378380
server_args = ['--server_path', paths.chip_tool[-1]] + \
379381
['--server_arguments', 'interactive server' +

0 commit comments

Comments
 (0)