summaryrefslogtreecommitdiff
path: root/tests/long/00.gzip/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/long/00.gzip/test.py')
-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()