X86: Update the regressions for the fact that rdtsc does something now.
[gem5.git] / tests / long / 00.gzip / test.py
index 5c33376bdd66c882097e1a3b9faa2963a178c8ec..f69914046e914bcd4591ad48279982186fba2cf5 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.AddToPath('../configs/common')
+from cpu2000 import gzip_log
+
+workload = gzip_log(isa, opsys, 'smred')
+root.system.cpu.workload = workload.makeLiveProcess()