summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/signal_pending.c
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-03-06 11:59:26 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-03-07 10:44:32 +0100
commite78e00bd478a43ee01db726ce488424a371e8684 (patch)
tree531ce58a6cfcb3c6d9aad29f14b068f277ab305b /tools/testing/selftests/bpf/prog_tests/signal_pending.c
parent17a90a78847324b1a34b0de833492cbd2366361d (diff)
selftests: bpf: fix compilation with out-of-tree $(OUTPUT)
A bunch of related changes lumped together: * Create prog_tests and verifier output directories; these don't exist with out-of-tree $(OUTPUT) * Add missing -I (via separate TEST_{PROGS,VERIFIER}_CFLAGS) for the main tree ($(PWD) != $(OUTPUT) for out-of-tree) * Add libbpf.a dependency for test_progs_32 (parallel make fails otherwise) * Add missing "; \" after "cd" when generating test.h headers Tested by: $ alias m="make -s -j$(nproc)" $ m -C tools/testing/selftests/bpf/ clean $ m -C tools/lib/bpf/ clean $ rm -rf xxx; mkdir xxx; m -C tools/testing/selftests/bpf/ OUTPUT=$PWD/xxx $ m -C tools/testing/selftests/bpf/ Fixes: 3f30658830f3 ("selftests: bpf: break up test_progs - preparations") Fixes: 2dfb40121ee8 ("selftests: bpf: prepare for break up of verifier tests") Fixes: 3ef84346c561 ("selftests: bpf: makefile support sub-register code-gen test mode") Signed-off-by: Stanislav Fomichev <sdf@google.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/signal_pending.c')
0 files changed, 0 insertions, 0 deletions