selftests/bpf: Ensure test flavors use correct skeletons
authorAndrii Nakryiko <andriin@fb.com>
Wed, 29 Apr 2020 01:21:01 +0000 (18:21 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 29 Apr 2020 02:48:04 +0000 (19:48 -0700)
commit76148faa161e7cfb2d7719f35b37d7db4f3f8596
tree388dd662dc6146f01de1b87f002fc78bac740f6d
parent3271e8f3f63d4793ce9e4a00d3f8b436b9e8d5b4
selftests/bpf: Ensure test flavors use correct skeletons

Ensure that test runner flavors include their own skeletons from <flavor>/
directory. Previously, skeletons generated for no-flavor test_progs were used.
Apart from fixing correctness, this also makes it possible to compile only
flavors individually:

  $ make clean && make test_progs-no_alu32
  ... now succeeds ...

Fixes: 74b5a5968fe8 ("selftests/bpf: Replace test_progs and test_maps w/ general rule")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200429012111.277390-2-andriin@fb.com
tools/testing/selftests/bpf/Makefile