]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
selftests: bpf: prepare for break up of verifier tests
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 25 Jan 2019 23:24:42 +0000 (15:24 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 28 Jan 2019 05:37:45 +0000 (21:37 -0800)
commit2dfb40121ee83139909e4e17d414eee87897bb8e
tree15f8621dd465b576f8527ae75caf80e574815ae7
parentae575c8a9868c2247c6ba287b91f0420e27aad4b
selftests: bpf: prepare for break up of verifier tests

test_verifier.c has grown to be very long (almost 16 kLoC),
and it is very conflict prone since we always add tests at
the end.

Try to break it apart a little bit.  Allow test snippets
to be defined in separate files and include them automatically
into the huge test array.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/test_verifier.c
tools/testing/selftests/bpf/verifier/.gitignore [new file with mode: 0644]