summaryrefslogtreecommitdiff
path: root/tests/long/00.gzip
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/00.gzip
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/00.gzip')
-rw-r--r--tests/long/00.gzip/test.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/long/00.gzip/test.py b/tests/long/00.gzip/test.py
index 5c33376bd..06ccb656b 100644
--- a/tests/long/00.gzip/test.py
+++ b/tests/long/00.gzip/test.py
@@ -26,6 +26,8 @@
#
# Authors: Korey Sewell
-process = LiveProcess(executable = binpath('gzip'))
-process.cmd = 'gzip ' + inputpath('gzip', 'smred.log') + ' 1'
-root.system.cpu.workload = process
+m5.AddToPath('../configs/common')
+from cpu2000 import gzip_log
+
+workload = gzip_log('alpha', 'tru64', 'smred')
+root.system.cpu.workload = workload.makeLiveProcess()