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 3002bf441..df34faca8 100644
--- a/tests/run.py
+++ b/tests/run.py
@@ -54,7 +54,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