]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a59c6fb4406144718f4df3d1df575f07890bb86
tree7f28d0d2d352ca7c5d8d98f30692cb520800ea6e
parentb455de52802f60b518fb54c6a08fef19f47a0c6b
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