]> 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)
commit7ed86aec709bc1ea2ba24e166f83af1b2c9483c2
treefdadd2269cbe2374d7caea77e030fae43000712c
parent3a666bce6955e3f91cb073f5ae2854b29308b556
selftests/bpf: fix test_verifier/test_maps make dependencies

da77584c63b5 ("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: 454b5990cbc6 ("bpf: Add BPF_MAP_TYPE_SK_STORAGE test to test_maps")
Fixes: bca05a9736d0 ("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