]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: fix test_verifier/test_maps make dependencies
authorAndrii Nakryiko <andriin@fb.com>
Tue, 16 Jul 2019 19:38:36 +0000 (12:38 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 17 Jul 2019 01:33:12 +0000 (18:33 -0700)
commit10fac93b34e5f728886e6b856b4872362c511b86
treefdadd2269cbe2374d7caea77e030fae43000712c
parent60410c78d26ea2699fbee28564a1d9991e1d99fe
selftests/bpf: fix test_verifier/test_maps make dependencies

acb4d9dea522 ("selftests/bpf: make directory prerequisites order-only")
exposed existing problem in Makefile for test_verifier and test_maps tests:
their dependency on auto-generated header file with a list of all tests wasn't
recorded explicitly. This patch fixes these issues.

Fixes: 139e762b8b73 ("bpf: Add BPF_MAP_TYPE_SK_STORAGE test to test_maps")
Fixes: 1d13a4886943 ("selftests: bpf: tests.h should depend on .c files, not the output")
Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: Stanislav Fomichev <sdf@google.com>
Cc: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile