Checkpoint: Use checkpoint_dir, if that is not set use outdir (-d), and if that isn't set use cwd.
--HG-- extra : convert_revision : 6548dd6de376dd59285a37a03bcf2525f8fc3845
This commit is contained in:
parent
95dddad9ab
commit
5a4fc93fca
|
@ -72,6 +72,8 @@ def run(options, root, testsys, cpu_class):
|
||||||
|
|
||||||
if options.checkpoint_dir:
|
if options.checkpoint_dir:
|
||||||
cptdir = options.checkpoint_dir
|
cptdir = options.checkpoint_dir
|
||||||
|
elif m5.options.outdir:
|
||||||
|
cptdir = m5.options.outdir
|
||||||
else:
|
else:
|
||||||
cptdir = getcwd()
|
cptdir = getcwd()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue