diff options
Diffstat (limited to 'configs/common/Simulation.py')
-rw-r--r-- | configs/common/Simulation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index 6b585d8c3..84628b347 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -72,6 +72,8 @@ def run(options, root, testsys, cpu_class): if options.checkpoint_dir: cptdir = options.checkpoint_dir + elif m5.options.outdir: + cptdir = m5.options.outdir else: cptdir = getcwd() |