36,44c36
< # Called from tests/run.py
<
< # Set the working directory in case we are executing from
< # outside gem5's source tree
< import os
< os.chdir(os.path.join(os.path.dirname(__file__), "../"))
<
< # Execute the script we are wrapping
< execfile(srcpath('configs/learning_gem5/part1/simple.py'))
---
> run_config('configs/learning_gem5/part1/simple.py')