]> git.baikalelectronics.ru Git - kernel.git/commit
selftests, bpf: xdping is not meant to be run standalone
authorJiri Benc <jbenc@redhat.com>
Mon, 18 Nov 2019 20:25:26 +0000 (21:25 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 18 Nov 2019 20:31:45 +0000 (21:31 +0100)
commit175a300a4b7ed9d28e7c4c014fe3c15073b33075
tree62f408a94951ad74eb2c9131a7794365d680bb11
parente70ef321e2bc34483a7a22da5ca7046b85c6ac2a
selftests, bpf: xdping is not meant to be run standalone

The actual test to run is test_xdping.sh, which is already in TEST_PROGS.
The xdping program alone is not runnable with 'make run_tests', it
immediatelly fails due to missing arguments.

Move xdping to TEST_GEN_PROGS_EXTENDED in order to be built but not run.

Fixes: c0a46102f10d ("selftests/bpf: measure RTT from xdp using xdping")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/4365c81198f62521344c2215909634407184387e.1573821726.git.jbenc@redhat.com
tools/testing/selftests/bpf/Makefile