Skip to content

Commit

Permalink
twister: when simulatio is mdb-nsim, call make run
Browse files Browse the repository at this point in the history
For twister, when simulation is mdb-nsim, the platform is
nsim_hs_smp. Before the twister will call west falsh
when platform is nsim_hs_smp, because twister can't kill
cld process, now this problem has been fixed

Signed-off-by: Jingru Wang <[email protected]>
  • Loading branch information
wangnuannuan authored and nashif committed Sep 7, 2021
1 parent 86f1bdc commit b78d674
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/pylib/twister/twisterlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2287,8 +2287,7 @@ def setup_handler(self):
elif instance.platform.simulation == "mdb-nsim":
if find_executable("mdb"):
instance.handler = BinaryHandler(instance, "nsim")
instance.handler.pid_fn = os.path.join(instance.build_dir, "mdb.pid")
instance.handler.call_west_flash = True
instance.handler.call_make_run = True
elif instance.platform.simulation == "armfvp":
instance.handler = BinaryHandler(instance, "armfvp")
instance.handler.call_make_run = True
Expand Down

0 comments on commit b78d674

Please sign in to comment.