configs: Add full path for learning_gem5 binaries
Change-Id: Ie48429d65e322136109a223ed404937989aae494 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17868 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
This commit is contained in:
@@ -89,8 +89,11 @@ system.system_port = system.membus.slave
|
||||
# get ISA for the binary to run.
|
||||
isa = str(m5.defines.buildEnv['TARGET_ISA']).lower()
|
||||
|
||||
# Run 'hello' and use the compiled ISA to find the binary
|
||||
binary = 'tests/test-progs/hello/bin/' + isa + '/linux/hello'
|
||||
# Default to running 'hello', use the compiled ISA to find the binary
|
||||
# grab the specific path to the binary
|
||||
thispath = os.path.dirname(os.path.realpath(__file__))
|
||||
binary = os.path.join(thispath, '../../../',
|
||||
'tests/test-progs/hello/bin/', isa, 'linux/hello')
|
||||
|
||||
# Create a process for a simple "Hello World" application
|
||||
process = Process()
|
||||
|
||||
Reference in New Issue
Block a user