summaryrefslogtreecommitdiff
path: root/tests/long/20.parser/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/long/20.parser/test.py')
-rw-r--r--tests/long/20.parser/test.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/long/20.parser/test.py b/tests/long/20.parser/test.py
index 760908722..8703ae634 100644
--- a/tests/long/20.parser/test.py
+++ b/tests/long/20.parser/test.py
@@ -26,7 +26,8 @@
#
# Authors: Korey Sewell
-process = LiveProcess(executable = binpath('parser'))
-process.cmd = 'parser 2.1.dict -batch'
-process.input = inputpath('parser', 'lgred.in')
-root.system.cpu.workload = process
+m5.AddToPath('../configs/common')
+from cpu2000 import parser
+
+workload = parser('alpha', 'tru64', 'lgred')
+root.system.cpu.workload = workload.makeLiveProcess()