summaryrefslogtreecommitdiff
path: root/tests/configs/learning-gem5-p1-simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/configs/learning-gem5-p1-simple.py')
-rw-r--r--tests/configs/learning-gem5-p1-simple.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/configs/learning-gem5-p1-simple.py b/tests/configs/learning-gem5-p1-simple.py
index 9ad70854e..aba538a7e 100644
--- a/tests/configs/learning-gem5-p1-simple.py
+++ b/tests/configs/learning-gem5-p1-simple.py
@@ -33,12 +33,4 @@
root = None
def run_test(root):
- # 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')