From: Xin Ouyang Date: Sun, 17 Nov 2019 01:58:19 +0000 (+0800) Subject: arch-riscv: fix asmtest concurrent issues. X-Git-Tag: v19.0.0.0~226 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3aba22c52cdc3304cb8ca19d122cafb94b23f1c;p=gem5.git 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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22863 Reviewed-by: Jason Lowe-Power Reviewed-by: Alec Roelke Maintainer: Jason Lowe-Power Tested-by: kokoro --- 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,