Regression: Update stats for cache changes.
[gem5.git] / tests / long / 40.perlbmk / test.py
index 81c36bab3ec314fe14cea131f29fab8743a0a432..e32416265490f57c5e530989f1a3c3d40a424ff0 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('perlbmk'))
-process.cmd = 'perlbmk -I./lib' + inputpath('perlbmk', 'lgred.makerand.pl')
-root.system.cpu.workload = process
+m5.AddToPath('../configs/common')
+from cpu2000 import perlbmk_makerand
+
+workload = perlbmk_makerand(isa, opsys, 'lgred')
+root.system.cpu.workload = workload.makeLiveProcess()