selftests/bpf: Allow some tests to be executed in sequence
authorYucong Sun <sunyucong@gmail.com>
Wed, 6 Oct 2021 18:56:07 +0000 (11:56 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Oct 2021 21:38:02 +0000 (14:38 -0700)
commit6587ff58cea4a7f252b8bbc4031a1bf4ec3781d8
tree7f28d0d2d352ca7c5d8d98f30692cb520800ea6e
parent91b2c0afd00cb01d715d6e9503624ab33580d5b6
selftests/bpf: Allow some tests to be executed in sequence

This patch allows tests to define serial_test_name() instead of
test_name(), and this will make test_progs execute those in sequence
after all other tests finished executing concurrently.

Signed-off-by: Yucong Sun <sunyucong@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211006185619.364369-3-fallentree@fb.com
tools/testing/selftests/bpf/test_progs.c