summaryrefslogtreecommitdiff
path: root/tests/long/30.eon/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/30.eon/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/30.eon/test.py')
-rw-r--r--tests/long/30.eon/test.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/long/30.eon/test.py b/tests/long/30.eon/test.py
index d6bf3bb76..828b6390c 100644
--- a/tests/long/30.eon/test.py
+++ b/tests/long/30.eon/test.py
@@ -26,10 +26,8 @@
#
# Authors: Korey Sewell
-process = LiveProcess(executable = binpath('eon'))
-process.cmd = 'eon' + inputpath('eon', 'chair.control.cook') + \
- inputpath('eon', 'chair.camera') + \
- inputpath('eon', 'chair.surfaces') + \
- inputpath('eon', 'chair.cook.ppm') + 'ppm' \
- + 'pixels_out.cook'
-root.system.cpu.workload = process
+m5.AddToPath('../configs/common')
+from cpu2000 import eon_cook
+
+workload = eon_cook('alpha', 'tru64', 'mdred')
+root.system.cpu.workload = workload.makeLiveProcess()