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
@@ -64,6 +64,7 @@ struct test_env {
|
||||
int succ_cnt; /* successful tests */
|
||||
int sub_succ_cnt; /* successful sub-tests */
|
||||
int fail_cnt; /* total failed tests + sub-tests */
|
||||
int skip_cnt; /* skipped tests */
|
||||
};
|
||||
|
||||
extern int error_cnt;
|
||||
@@ -72,6 +73,7 @@ extern struct test_env env;
|
||||
|
||||
extern void test__force_log();
|
||||
extern bool test__start_subtest(const char *name);
|
||||
extern void test__skip(void);
|
||||
|
||||
#define MAGIC_BYTES 123
|
||||
|
||||
|
Reference in New Issue
Block a user