@@ -189,6 +189,9 @@ def cmd_list(context):
189
189
@click .option (
190
190
'--tv-app' ,
191
191
help = 'what tv app to use' )
192
+ @click .option (
193
+ '--bridge-app' ,
194
+ help = 'what bridge app to use' )
192
195
@click .option (
193
196
'--pics-file' ,
194
197
type = click .Path (exists = True ),
@@ -200,7 +203,7 @@ def cmd_list(context):
200
203
type = int ,
201
204
help = 'If provided, fail if a test runs for longer than this time' )
202
205
@click .pass_context
203
- def cmd_run (context , iterations , all_clusters_app , lock_app , ota_provider_app , ota_requestor_app , tv_app , pics_file , test_timeout_seconds ):
206
+ def cmd_run (context , iterations , all_clusters_app , lock_app , ota_provider_app , ota_requestor_app , tv_app , bridge_app , pics_file , test_timeout_seconds ):
204
207
runner = chiptest .runner .Runner ()
205
208
206
209
if all_clusters_app is None :
@@ -218,14 +221,18 @@ def cmd_run(context, iterations, all_clusters_app, lock_app, ota_provider_app, o
218
221
if tv_app is None :
219
222
tv_app = FindBinaryPath ('chip-tv-app' )
220
223
224
+ if bridge_app is None :
225
+ bridge_app = FindBinaryPath ('chip-bridge-app' )
226
+
221
227
# Command execution requires an array
222
228
paths = chiptest .ApplicationPaths (
223
229
chip_tool = [context .obj .chip_tool ],
224
230
all_clusters_app = [all_clusters_app ],
225
231
lock_app = [lock_app ],
226
232
ota_provider_app = [ota_provider_app ],
227
233
ota_requestor_app = [ota_requestor_app ],
228
- tv_app = [tv_app ]
234
+ tv_app = [tv_app ],
235
+ bridge_app = [bridge_app ]
229
236
)
230
237
231
238
if sys .platform == 'linux' :
0 commit comments