mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
selftests/bpf: convert send_signal.c to use subtests
Convert send_signal set of tests to be exposed as three sub-tests. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
parent
51436ed78d
commit
b207edfe4e
@ -219,7 +219,10 @@ void test_send_signal(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
ret |= test_send_signal_tracepoint();
|
||||
ret |= test_send_signal_perf();
|
||||
ret |= test_send_signal_nmi();
|
||||
if (test__start_subtest("send_signal_tracepoint"))
|
||||
ret |= test_send_signal_tracepoint();
|
||||
if (test__start_subtest("send_signal_perf"))
|
||||
ret |= test_send_signal_perf();
|
||||
if (test__start_subtest("send_signal_nmi"))
|
||||
ret |= test_send_signal_nmi();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user