summaryrefslogtreecommitdiff
path: root/tests/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.py')
-rw-r--r--tests/run.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run.py b/tests/run.py
index aa13ac437..a405b7f69 100644
--- a/tests/run.py
+++ b/tests/run.py
@@ -47,7 +47,8 @@ execfile(os.path.join(tests_root, 'configs', config + '.py'))
# set default maxtick... script can override
# -1 means run forever
-maxtick = -1
+from m5 import MaxTick
+maxtick = MaxTick
# tweak configuration for specific test