summaryrefslogtreecommitdiff
path: root/tests/long/10.mcf/test.py
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-11-16 13:10:38 -0800
committerNathan Binkert <binkertn@umich.edu>2006-11-16 13:10:38 -0800
commitbd8cc3765034e18230a28c133d2a4173ba332ef4 (patch)
tree6acc98d66608551f0daf9d60e00b7a974f6abf53 /tests/long/10.mcf/test.py
parent4c2e65c94e2c66daf4be8c424c84002c63693ca2 (diff)
downloadgem5-bd8cc3765034e18230a28c133d2a4173ba332ef4.tar.xz
Implement a single config file to encompass all of the SPEC
CPU2000 stuff, and use it in all of the tests that currently use SPEC --HG-- extra : convert_revision : 8cd26a597e51a90b6d2810d344a075f5aa0f011b
Diffstat (limited to 'tests/long/10.mcf/test.py')
-rw-r--r--tests/long/10.mcf/test.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/long/10.mcf/test.py b/tests/long/10.mcf/test.py
index 36d077c96..f545aad3d 100644
--- a/tests/long/10.mcf/test.py
+++ b/tests/long/10.mcf/test.py
@@ -26,6 +26,8 @@
#
# Authors: Korey Sewell
-process = LiveProcess(executable = binpath('mcf'))
-process.cmd = 'mcf' + inputpath('mcf', 'lgred.in')
-root.system.cpu.workload = process
+m5.AddToPath('../configs/common')
+from cpu2000 import mcf
+
+workload = mcf('alpha', 'tru64', 'lgred')
+root.system.cpu.workload = workload.makeLiveProcess()