294a295,304
> # If we're taking and restoring checkpoints, use checkpoint_dir
> # option only for finding the checkpoints to restore from. This
> # lets us test checkpointing by restoring from one set of
> # checkpoints, generating a second set, and then comparing them.
> if options.take_checkpoints and options.checkpoint_restore:
> if m5.options.outdir:
> cptdir = m5.options.outdir
> else:
> cptdir = getcwd()
>