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 committed Jul 20, 2022
1 parent 33f19e8 commit 5a756ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elf_reader_test.go
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 5a756ba

Please sign in to comment.