summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2006-11-08 16:49:59 -0500
committerLisa Hsu <hsul@eecs.umich.edu>2006-11-08 16:49:59 -0500
commit32f676fed2fd8855f7c485e9ac4fc9db43e65dd3 (patch)
tree8413cf33c83f00f2ecb98ffe9a04543ba91efdea /tests
parent74745cfeac4f4de4613d8faed77aa7e3c06cbca4 (diff)
downloadgem5-32f676fed2fd8855f7c485e9ac4fc9db43e65dd3.tar.xz
the tests assume -1 to signify MaxTick, that's changed, so fix that here.
--HG-- extra : convert_revision : 73ff143ba3b733f80ab867fcd72489cd1ee49d76
Diffstat (limited to 'tests')
-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