1
0
Fork 0
alistair23-linux/tools/include
Daniel Borkmann 5aa5bd14c5 bpf: add initial suite for selftests
Add a start of a test suite for kernel selftests. This moves test_verifier
and test_maps over to tools/testing/selftests/bpf/ along with various
code improvements and also adds a script for invoking test_bpf module.
The test suite can simply be run via selftest framework, f.e.:

  # cd tools/testing/selftests/bpf/
  # make
  # make run_tests

Both test_verifier and test_maps were kind of misplaced in samples/bpf/
directory and we were looking into adding them to selftests for a while
now, so it can be picked up by kbuild bot et al and hopefully also get
more exposure and thus new test case additions.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-18 11:35:55 -04:00
..
asm perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks 2016-07-12 15:20:32 -03:00
asm-generic tools: Copy the bitops files accessed from the kernel and check for drift 2016-07-18 18:33:41 -03:00
linux bpf: add initial suite for selftests 2016-10-18 11:35:55 -04:00
tools tools: add more endian.h macros 2014-09-26 11:03:01 +02:00
uapi tools: Synchronize tools/include/uapi/linux/bpf.h 2016-10-05 19:31:48 -03:00