]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: xsk: make the stats tests normal tests
authorMagnus Karlsson <magnus.karlsson@intel.com>
Tue, 10 May 2022 11:56:03 +0000 (13:56 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 11 May 2022 15:03:16 +0000 (08:03 -0700)
commitd28e8c6a9d25aa2c56fb45b0c998f4c78f094987
treeda379c54ea28297e61db1a1893120536f2fedfec
parent276deeeccec4766c7ff90f2646f9badf4d294ef8
selftests: xsk: make the stats tests normal tests

Make the stats tests look and feel just like normal tests instead of
bunched under the umbrella of TEST_STATS. This means we will always
run each of them even if one fails. Also gets rid of some special case
code.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/r/20220510115604.8717-9-magnus.karlsson@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/xdpxceiver.c
tools/testing/selftests/bpf/xdpxceiver.h