Merge with head.
[gem5.git] / tests / long / 10.mcf / test.py
index af2536c7ec355279c542afc1bb7722ef36fd6da9..cb8acff22dad96f982e6a33c770b8b9be67fca1b 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 = 'mcf lgred.in',
-                                       executable = binpath('mcf'))
+m5.AddToPath('../configs/common')
+from cpu2000 import mcf
+
+workload = mcf(isa, opsys, 'smred')
+root.system.cpu.workload = workload.makeLiveProcess()