summaryrefslogtreecommitdiff
path: root/tests/configs/learning-gem5-p1-simple.py
diff options
context:
space:
mode:
authorJason Lowe-Power <power.jg@gmail.com>2015-09-16 09:35:36 -0500
committerJason Lowe-Power <power.jg@gmail.com>2015-09-16 09:35:36 -0500
commit29dd04cfe96f095414d881b53cb0838661996f57 (patch)
tree75ccd3fa5802b414bc8819795bff80449aa1bff1 /tests/configs/learning-gem5-p1-simple.py
parentf065f9941b5e3b2796ec46d1926115283edd66cd (diff)
downloadgem5-29dd04cfe96f095414d881b53cb0838661996f57.tar.xz
tests: Add tests for the Learning gem5 scripts
These tests will ensure that Learning gem5 scripts are always up to date with the changes in the mainline of gem5. Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'tests/configs/learning-gem5-p1-simple.py')
-rw-r--r--tests/configs/learning-gem5-p1-simple.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/configs/learning-gem5-p1-simple.py b/tests/configs/learning-gem5-p1-simple.py
new file mode 100644
index 000000000..7ee9cc815
--- /dev/null
+++ b/tests/configs/learning-gem5-p1-simple.py
@@ -0,0 +1,11 @@
+
+# A wrapper around configs/learning_gem5/part1/simple.py
+
+# For some reason, this is implicitly needed by run.py
+root = None
+
+def run_test(root):
+ # Called from tests/run.py
+
+ # Execute the script we are wrapping
+ execfile('configs/learning_gem5/part1/simple.py')