fix test running after multi userland args change for gem5

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-06-03 03:00:02 +00:00
parent 1661644ebd
commit a2ce410173
2 changed files with 5 additions and 4 deletions

View File

@@ -63,10 +63,10 @@ If given, run only the given tests. Otherwise, run all tests.
if my_path_properties.should_be_tested(self.env):
cur_run_args = run_args.copy()
cur_run_args.update({
self.env['mode']: os.path.relpath(
self.env['mode']: [os.path.relpath(
os.path.join(path_abs, in_filename),
os.getcwd()
),
)],
})
cur_run_args.update(my_path_properties['test_run_args'])
if my_path_properties['test_stdin_data'] is not None: