Skip to content

Commit dd196e5

Browse files
lmbti-mo
authored andcommitted
libbpf-compat: skip tests that fail on 5.18
5.18 added two new BTF kinds TYPE_TAG and DECL_TAG which we don't support at the moment. See #713
1 parent 36acfe6 commit dd196e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

elf_reader_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,9 @@ func TestLibBPFCompat(t *testing.T) {
692692
case "bloom_filter_map.o", "bloom_filter_map.linked3.o",
693693
"bloom_filter_bench.o", "bloom_filter_bench.linked3.o":
694694
t.Skip("Skipping due to missing MapExtra field in MapSpec")
695+
case "btf_type_tag.o", "btf_type_tag.linked3.o", "test_btf_decl_tag.o",
696+
"test_btf_decl_tag.linked3.o":
697+
t.Skip("Skipping due to missing support for BTF_KIND_TYPE_TAG and BTF_KIND_DECL_TAG")
695698
}
696699

697700
t.Parallel()

0 commit comments

Comments
 (0)