tests: Fix import scope of test
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 8 May 2019 17:17:26 +0000 (19:17 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 9 May 2019 16:21:51 +0000 (16:21 +0000)
Add missing scope delimiters to Alpha tester

Change-Id: Ib6796864c0dc8fc3108d9d2a7c2f770d2122889a
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18708
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

tests/configs/twosys-tsunami-simple-atomic.py

index 3892745bf54a51a51990ee869b90c12a4005e045..0ba92f46d87587920f10d455bd3d74d0a9b835bc 100644 (file)
@@ -31,8 +31,8 @@ from m5.objects import *
 m5.util.addToPath('../configs/')
 from common import Benchmarks, FSConfig, SysPaths
 
-test_sys = makeLinuxAlphaSystem('atomic',
-                                SysConfig('netperf-stream-client.rcS'))
+test_sys = FSConfig.makeLinuxAlphaSystem('atomic',
+    Benchmarks.SysConfig('netperf-stream-client.rcS'))
 test_sys.kernel = SysPaths.binary('vmlinux')
 
 # Dummy voltage domain for all test_sys clock domains
@@ -68,8 +68,8 @@ test_sys.iobridge.master = test_sys.membus.slave
 test_sys.physmem = SimpleMemory(range = test_sys.mem_ranges[0])
 test_sys.physmem.port = test_sys.membus.master
 
-drive_sys = makeLinuxAlphaSystem('atomic',
-                                 SysConfig('netperf-server.rcS'))
+drive_sys = FSConfig.makeLinuxAlphaSystem('atomic',
+    Benchmarks.SysConfig('netperf-server.rcS'))
 drive_sys.kernel = SysPaths.binary('vmlinux')
 # Dummy voltage domain for all drive_sys clock domains
 drive_sys.voltage_domain = VoltageDomain()
@@ -100,6 +100,6 @@ drive_sys.iobridge.master = drive_sys.membus.slave
 drive_sys.physmem = SimpleMemory(range = drive_sys.mem_ranges[0])
 drive_sys.physmem.port = drive_sys.membus.master
 
-root = makeDualRoot(True, test_sys, drive_sys, "ethertrace")
+root = FSConfig.makeDualRoot(True, test_sys, drive_sys, "ethertrace")
 
 maxtick = 199999999