summaryrefslogtreecommitdiff
path: root/tests/configs
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2012-04-06 13:47:06 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2012-04-06 13:47:06 -0700
commitf050ebe3a87b0db01cfe2d6bee4fac083d659665 (patch)
tree3e721e0c69bb0fa53db0219617a3eaa0dc7f7f16 /tests/configs
parent0a9f4b950fb52db3951ad1f7aafc674b505d2679 (diff)
downloadgem5-f050ebe3a87b0db01cfe2d6bee4fac083d659665.tar.xz
MOESI_hammer: fixed bug with single cpu + flushes, then modified the regression tester to check this functionality
Diffstat (limited to 'tests/configs')
-rw-r--r--tests/configs/rubytest-ruby.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/configs/rubytest-ruby.py b/tests/configs/rubytest-ruby.py
index 7bb7b9014..979295cf5 100644
--- a/tests/configs/rubytest-ruby.py
+++ b/tests/configs/rubytest-ruby.py
@@ -65,10 +65,16 @@ options.l1i_assoc=2
options.l2_assoc=2
options.l3_assoc=2
+# Turn on flush check for the hammer protocol
+check_flush = False
+if buildEnv['PROTOCOL'] == 'MOESI_hammer':
+ check_flush = True
+
#
# create the tester and system, including ruby
#
-tester = RubyTester(checks_to_complete = 100, wakeup_frequency = 10)
+tester = RubyTester(check_flush = check_flush, checks_to_complete = 100,
+ wakeup_frequency = 10)
system = System(tester = tester, physmem = SimpleMemory())