config: Add a BaseSESystem builder for re-use in regressions
[gem5.git] / tests / long / se / 70.twolf / test.py
index 761ec8b2e616616e0f117e8ff4098f58a36bd52e..5b99b86fa0244946db22e871f50c24f0685425dd 100644 (file)
@@ -31,8 +31,8 @@ from cpu2000 import twolf
 import os
 
 workload = twolf(isa, opsys, 'smred')
-root.system.cpu.workload = workload.makeLiveProcess()
-cwd = root.system.cpu.workload[0].cwd
+root.system.cpu[0].workload = workload.makeLiveProcess()
+cwd = root.system.cpu[0].workload[0].cwd
 
 #Remove two files who's presence or absence affects execution
 sav_file = os.path.join(cwd, workload.input_set + '.sav')