selftests/bpf: test_progs: test__skip
Export test__skip() to indicate skipped tests and use it in test_send_signal_nmi(). Cc: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:

committed by
Daniel Borkmann

parent
08eea4f312
commit
cd9c21d768
@@ -204,6 +204,7 @@ static int test_send_signal_nmi(void)
|
||||
if (errno == ENOENT) {
|
||||
printf("%s:SKIP:no PERF_COUNT_HW_CPU_CYCLES\n",
|
||||
__func__);
|
||||
test__skip();
|
||||
return 0;
|
||||
}
|
||||
/* Let the test fail with a more informative message */
|
||||
|
Reference in New Issue
Block a user