arch-riscv: fix asmtest concurrent issues.
authorXin Ouyang <xin.ouyang@streamcomputing.com>
Sun, 17 Nov 2019 01:58:19 +0000 (09:58 +0800)
committerXin Ouyang <xin.ouyang@streamcomputing.com>
Fri, 6 Dec 2019 01:24:47 +0000 (01:24 +0000)
commitd3aba22c52cdc3304cb8ca19d122cafb94b23f1c
tree5b97110eacbbf302661666d109fba5a4e2ca454d
parent7dd740d93a254cbe901ab76240b98719ae0ab82e
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>
tests/test-progs/asmtest/src/riscv/run-tests.py