Skip to content

Commit

Permalink
libbpf-compat: skip tests that fail on 5.18
Browse files Browse the repository at this point in the history
5.18 added two new BTF kinds TYPE_TAG and DECL_TAG which we
don't support at the moment.

See #713
  • Loading branch information
lmb authored and ti-mo committed Jul 20, 2022
1 parent 36acfe6 commit dd196e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elf_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,9 @@ func TestLibBPFCompat(t *testing.T) {
case "bloom_filter_map.o", "bloom_filter_map.linked3.o",
"bloom_filter_bench.o", "bloom_filter_bench.linked3.o":
t.Skip("Skipping due to missing MapExtra field in MapSpec")
case "btf_type_tag.o", "btf_type_tag.linked3.o", "test_btf_decl_tag.o",
"test_btf_decl_tag.linked3.o":
t.Skip("Skipping due to missing support for BTF_KIND_TYPE_TAG and BTF_KIND_DECL_TAG")
}

t.Parallel()
Expand Down

0 comments on commit dd196e5

Please sign in to comment.