r'Exiting @ tick \d* because m5_exit instruction encountered'
)
-test_program = DownloadedProgram('test-progs/m5-exit/bin/x86/linux/',\
- 'm5_exit')
+path = joinpath(absdirpath(__file__), '..',
+ 'test-progs', 'hello', 'bin', 'x86', 'linux')
+filename = 'm5_exit'
+url = 'http://dist.gem5.org/dist/current/test-progs/' +
+ 'm5-exit/bin/x86/linux/m5_exit'
+test_program = DownloadedProgram(url, path, filename)
a = verifier.MatchRegex(m5_exit_regex)
gem5_verify_config(
verifiers=[a],
fixtures=(test_program,),
config=os.path.join(config.base_dir, 'configs', 'example','se.py'),
- config_args=['--cmd', test_program.path],
+ config_args=['--cmd', joinpath(test_program.path, filename)],
valid_isas=('X86',)
)