]> 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)
commit8c87e2565375dfd30317c624da0615e21264ece7
treee78324d50d01bff5acb6d2556b72f88e1ff7530f
parent8c8d4d43a59cd44d472529d8317731d34c9f8732
parent1ff931990d000ef629602bd7a9836f0f62177ec8
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>