diff options
author | Xin Ouyang <xin.ouyang@streamcomputing.com> | 2019-11-17 09:58:19 +0800 |
---|---|---|
committer | Xin Ouyang <xin.ouyang@streamcomputing.com> | 2019-12-06 01:24:47 +0000 |
commit | d3aba22c52cdc3304cb8ca19d122cafb94b23f1c (patch) | |
tree | 5b97110eacbbf302661666d109fba5a4e2ca454d /tests/test-progs/asmtest/src/riscv/run-tests.py | |
parent | 7dd740d93a254cbe901ab76240b98719ae0ab82e (diff) | |
download | gem5-d3aba22c52cdc3304cb8ca19d122cafb94b23f1c.tar.xz |
arch-riscv: fix asmtest concurrent issues.
riscv asmtest uses multiprocessing.Pool to run multiple gem5
processes concurrently.
By using gem5 default options, processes will fail because:
- accessing to the same m5out directory
- listening too many remote gdb ports at the same time
This will set independent m5out directories and disable remote gdb
ports for asmtest gem5 processes.
Change-Id: Ie4c81232210568cd1945adc2b99eebc019d705b6
Signed-off-by: Xin Ouyang <xin.ouyang@streamcomputing.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22863
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Alec Roelke <alec.roelke@gmail.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'tests/test-progs/asmtest/src/riscv/run-tests.py')
-rwxr-xr-x | tests/test-progs/asmtest/src/riscv/run-tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-progs/asmtest/src/riscv/run-tests.py b/tests/test-progs/asmtest/src/riscv/run-tests.py index 53a8476c0..f5b847ff7 100755 --- a/tests/test-progs/asmtest/src/riscv/run-tests.py +++ b/tests/test-progs/asmtest/src/riscv/run-tests.py @@ -109,6 +109,8 @@ for test in tests: test_name = test + '-' + model job_names.append(test_name) job_cmds.append([gem5_bin, + '-d', 'm5out/' + test_name, + '--listener-mode', 'off', config, '-m', str(args.max_tick), '--cpu-type', model, |