From 5a4fc93fca4bd6a1c6055f0b473194e595686a9b Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sat, 3 Nov 2007 14:41:00 -0400 Subject: [PATCH] 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 --- configs/common/Simulation.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.30.2