Merge ktlim@zizzer:/bk/newmem
[gem5.git] / tests / long / 60.bzip2 / test.py
index e96d64656af45f6ee429a3f80039f6758b430897..7fa3d1a078155e051a0ef6c71cc83305b63a842e 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('bzip2'))
-process.cmd = cmd = 'bzip2' + inputpath('bzip2', 'lgred.source')
-root.system.cpu.workload = process
+m5.AddToPath('../configs/common')
+from cpu2000 import bzip2_source
+
+workload = bzip2_source(isa, opsys, 'lgred')
+root.system.cpu.workload = workload.makeLiveProcess()