Skip to content

Commit 52f9a12

Browse files
nashifdkalowsk
authored andcommitted
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 8232440 commit 52f9a12

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)