Merge with head.
[gem5.git] / tests / long / 70.twolf / test.py
index 65973c1ee26aae3c463148e8a815a3b1676e3c2d..85b106eb4e505084cff269ad70482484429bbbed 100644 (file)
@@ -30,9 +30,9 @@ m5.AddToPath('../configs/common')
 from cpu2000 import twolf
 import os
 
-workload = twolf('alpha', 'tru64', 'smred')
+workload = twolf(isa, opsys, 'smred')
 root.system.cpu.workload = workload.makeLiveProcess()
-cwd = root.system.cpu.workload.cwd
+cwd = root.system.cpu.workload[0].cwd
 
 #Remove two files who's presence or absence affects execution
 sav_file = os.path.join(cwd, workload.input_set + '.sav')