]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'selftests/bpf: Add parallelism to test_progs'
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Oct 2021 20:40:31 +0000 (13:40 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Oct 2021 22:17:01 +0000 (15:17 -0700)
commit3d342652c49161e09ff20025f95a5fbda2f18760
treee78324d50d01bff5acb6d2556b72f88e1ff7530f
parent1482ccc6fca66daf2913b6b8dd410c776d145fc0
parent05faf3b7f19d9d2b846355dafdd586f758407f9a
Merge branch 'selftests/bpf: Add parallelism to test_progs'

Yucong Sun says:

====================

This patch series adds "-j" parelell execution to test_progs, with "--debug" to
display server/worker communications. Also, some Tests that often fails in
parallel are marked as serial test, and it will run in sequence after parallel
execution is done.

This patch series also adds a error summary after all tests execution finished.

V6 -> V5:
  * adding error summary logic for non parallel mode too.
  * changed how serial tests are implemented, use main process instead of worker 0.
  * fixed a dozen broken test when running in parallel.

V5 -> V4:
  * change to SOCK_SEQPACKET for close notification.
  * move all debug output to "--debug" mode
  * output log as test finish, and all error logs again after summary line.
  * variable naming / style changes
  * adds serial_test_name() to replace serial test lists.
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>