diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/common/Simulation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index 6df90cb6c..f306a0358 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -716,5 +716,5 @@ def run(options, root, testsys, cpu_class): if options.checkpoint_at_end: m5.checkpoint(joinpath(cptdir, "cpt.%d")) - if not m5.options.interactive: - sys.exit(exit_event.getCode()) + if exit_event.getCode() != 0: + print("Simulated exit code not 0! Exit code is", exit_event.getCode()) |