gem5: gem-regression downloads test binaries to a fixed location outside of source tree with the newly added --bin-path option

Otherwise each --gem5-worktree would download its own copy of the test
binaries into its own source tree.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-02-23 00:00:02 +00:00
parent 2f7047024d
commit 0fdd354551
3 changed files with 7 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ List tests instead of running them.
if self.env['cmd'] == 'run':
extra_args = [
'--base-dir', self.env['gem5_source_dir'], LF,
'--bin-path', self.env['gem5_test_binaries_dir'], LF,
'--build-dir', self.env['gem5_build_build_dir'], LF,
'-j', str(self.env['nproc']), LF,
'-t', str(self.env['nproc']), LF,