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
This commit is contained in:
Brad Beckmann
2010-01-29 20:29:40 -08:00
parent ceae8383ff
commit ab2f864af2
155 changed files with 31183 additions and 8877 deletions

View File

@@ -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