stats: undo parser change from initparam change
[gem5.git] / tests / long / 60.bzip2 / test.py
index 3f16efa093398836a82573b882c372bd698f0454..fa74d08602636c87e214bcaa02e95ee61f80979a 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,5 +26,8 @@
 #
 # Authors: Korey Sewell
 
-root.system.cpu.workload = LiveProcess(cmd = 'bzip2 lgred.source',
-                                       executable = binpath('bzip2'))
+m5.util.addToPath('../configs/common')
+from cpu2000 import bzip2_source
+
+workload = bzip2_source(isa, opsys, 'lgred')
+root.system.cpu.workload = workload.makeLiveProcess()