stats: undo parser change from initparam change
[gem5.git] / tests / long / 00.gzip / test.py
index 5c33376bdd66c882097e1a3b9faa2963a178c8ec..7acce6e81afd6a06bb73851599ce035baa516ec3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2006 The Regents of The University of Michigan
+# Copyright (c) 2006-2007 The Regents of The University of Michigan
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -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.util.addToPath('../configs/common')
+from cpu2000 import gzip_log
+
+workload = gzip_log(isa, opsys, 'smred')
+root.system.cpu.workload = workload.makeLiveProcess()