From: Ali Saidi Date: Wed, 12 Sep 2007 19:27:15 +0000 (-0400) Subject: Checkpointing: Fix directory regex X-Git-Tag: m5_2.0_beta4~106^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=136cb057d405449593f54c38bdd40046d70e587f;p=gem5.git Checkpointing: Fix directory regex --HG-- extra : convert_revision : 4d3958eda66209373249e54e7deadd1a7442e828 --- diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index 53c2956a2..c65597367 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -130,7 +130,7 @@ def run(options, root, testsys, cpu_class): m5.panic("checkpoint dir %s does not exist!" % cptdir) dirs = listdir(cptdir) - expr = re.compile('cpt.([0-9]*)') + expr = re.compile('cpt\.([0-9]*)') cpts = [] for dir in dirs: match = expr.match(dir)