qemu/tests
Vladimir Sementsov-Ogievskiy 722f87df25 iotests: check: multiprocessing support
Add -j <JOBS> parameter, to run tests in several jobs simultaneously.
For realization - simply utilize multiprocessing.Pool class.

Notes:

1. Of course, tests can't run simultaneously in same TEST_DIR. So,
   use subdirectories TEST_DIR/testname/ and SOCK_DIR/testname/
   instead of simply TEST_DIR and SOCK_DIR

2. multiprocessing.Pool.starmap function doesn't support passing
   context managers, so we can't simply pass "self". Happily, we need
   self only for read-only access, and it just works if it is defined
   in global space. So, add a temporary link TestRunner.shared_self
   during run_tests().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211203122223.2780098-4-vsementsov@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Tested-by: John Snow <jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2021-12-22 16:29:48 +01:00
..
avocado tests/avocado: fix tcg_plugin mem access count test 2021-11-29 15:12:56 +00:00
bench
data tests/acpi: add expected blob for VIOT test on virt machine 2021-12-15 10:35:26 +00:00
decode
docker nbd patches for 2021-11-16 2021-11-16 18:55:36 +01:00
fp
guest-debug
image-fuzzer
include
keys
migration
multiboot
perf/block/qcow2
plugin tests/plugin/syscall.c: fix compiler warnings 2021-11-29 15:13:22 +00:00
qapi-schema meson: drop sphinx_extn_depends 2021-11-08 12:27:23 +04:00
qemu-iotests iotests: check: multiprocessing support 2021-12-22 16:29:48 +01:00
qtest tests: start dbus-display-test 2021-12-21 10:50:22 +04:00
rocker
tcg configure: unify ppc64 and ppc64le 2021-12-18 10:57:36 +01:00
tsan
uefi-test-tools
unit meson: reenable test-fdmon-epoll 2021-12-18 10:57:36 +01:00
vm tests/vm: don't build using TCG by default 2021-11-16 16:19:53 +00:00
vmstate-static-checker-data
check-block.sh
dbus-vmstate-daemon.sh
Makefile.include tests/acceptance: rename tests acceptance to tests avocado 2021-11-08 17:00:22 +01:00
meson.build python, iotests: remove socket_scm_helper 2021-10-12 12:22:11 -04:00
requirements.txt
test-qht-par.c
vhost-user-bridge.c tests/vhost-user-bridge.c: Fix typo in help message 2021-09-04 17:34:05 -04:00