Skip to content

Commit 93c3e3b

Browse files
committed
twister: custom simulator needs an exec defined
custom simulator needs an executable defined, or else we will have tests marked runnable with nothing to run them which would result in an error/warning. Signed-off-by: Anas Nashif <[email protected]>
1 parent c3466b1 commit 93c3e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib/testinstance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def check_runnable(self,
277277
if self.testsuite.harness == 'pytest':
278278
target_ready = bool(filter == 'runnable' or self.platform.simulation in SUPPORTED_SIMS_IN_PYTEST)
279279

280-
SUPPORTED_SIMS_WITH_EXEC = ['nsim', 'mdb-nsim', 'renode', 'tsim', 'native', 'simics']
280+
SUPPORTED_SIMS_WITH_EXEC = ['nsim', 'mdb-nsim', 'renode', 'tsim', 'native', 'simics', 'custom']
281281
if filter != 'runnable' and \
282282
self.platform.simulation in SUPPORTED_SIMS_WITH_EXEC and \
283283
self.platform.simulation_exec:

0 commit comments

Comments
 (0)