diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:40 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:40 -0800 |
commit | ab2f864af2fd38cbf141708550409f3ca72c675f (patch) | |
tree | 75b861a290240275d872a58d393a6d6f7e5598d5 /tests/run.py | |
parent | ceae8383ffeebdc2c12d9a383941c62653471de1 (diff) | |
download | gem5-ab2f864af2fd38cbf141708550409f3ca72c675f.tar.xz |
m5: Regression Tester Update
This patch includes the necessary regression updates to test the new ruby
configuration system. The patch includes support for multiple ruby protocols
and adds the ruby random tester. The patch removes atomic mode test for
ruby since ruby does not support atomic mode acceses. These tests can be
added back in when ruby supports atomic mode for real.
--HG--
rename : tests/quick/50.memtest/test.py => tests/quick/60.rubytest/test.py
Diffstat (limited to 'tests/run.py')
-rw-r--r-- | tests/run.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/run.py b/tests/run.py index 5e0b943c8..1e58f0283 100644 --- a/tests/run.py +++ b/tests/run.py @@ -28,6 +28,8 @@ import os import sys +import re +import string from os.path import join as joinpath @@ -61,7 +63,11 @@ def inputpath(app, file=None): # build configuration sys.path.append(joinpath(tests_root, 'configs')) -execfile(joinpath(tests_root, 'configs', config + '.py')) +test_filename = config +# for ruby configurations, remove the protocol name from the test filename +if re.search('-ruby', test_filename): + test_filename = test_filename.split('-ruby')[0]+'-ruby' +execfile(joinpath(tests_root, 'configs', test_filename + '.py')) # set default maxtick... script can override # -1 means run forever |