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 cilium#713
  • Loading branch information
lmb committed Jun 15, 2022
1 parent da78357 commit 56a0334
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 @@ -690,6 +690,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 56a0334

Please sign in to comment.