Makefile (3e6fe5ce4d4860c3a111c246fddc6f31492f4fb0) | Makefile (fb5cd0ce70d43b9bf589aa05aaa067350c3d3b26) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2include ../../../build/Build.include 3include ../../../scripts/Makefile.arch 4include ../../../scripts/Makefile.include 5 6CXX ?= $(CROSS_COMPILE)g++ 7 8CURDIR := $(abspath .) --- 68 unchanged lines hidden (view full) --- 77TEST_PROGS_EXTENDED := with_addr.sh \ 78 with_tunnels.sh ima_setup.sh \ 79 test_xdp_vlan.sh test_bpftool.py 80 81# Compile but not part of 'make run_tests' 82TEST_GEN_PROGS_EXTENDED = test_sock_addr test_skb_cgroup_id_user \ 83 flow_dissector_load test_flow_dissector test_tcp_check_syncookie_user \ 84 test_lirc_mode2_user xdping test_cpp runqslower bench bpf_testmod.ko \ | 1# SPDX-License-Identifier: GPL-2.0 2include ../../../build/Build.include 3include ../../../scripts/Makefile.arch 4include ../../../scripts/Makefile.include 5 6CXX ?= $(CROSS_COMPILE)g++ 7 8CURDIR := $(abspath .) --- 68 unchanged lines hidden (view full) --- 77TEST_PROGS_EXTENDED := with_addr.sh \ 78 with_tunnels.sh ima_setup.sh \ 79 test_xdp_vlan.sh test_bpftool.py 80 81# Compile but not part of 'make run_tests' 82TEST_GEN_PROGS_EXTENDED = test_sock_addr test_skb_cgroup_id_user \ 83 flow_dissector_load test_flow_dissector test_tcp_check_syncookie_user \ 84 test_lirc_mode2_user xdping test_cpp runqslower bench bpf_testmod.ko \ |
85 xdpxceiver xdp_redirect_multi | 85 xdpxceiver xdp_redirect_multi xdp_synproxy |
86 87TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read 88 89# Emit succinct information message describing current building step 90# $1 - generic step name (e.g., CC, LINK, etc); 91# $2 - optional "flavor" specifier; if provided, will be emitted as [flavor]; 92# $3 - target (assumed to be file); only file name will be emitted; 93# $4 - optional extra arg, emitted as-is, if provided. --- 405 unchanged lines hidden (view full) --- 499TRUNNER_TESTS_DIR := prog_tests 500TRUNNER_BPF_PROGS_DIR := progs 501TRUNNER_EXTRA_SOURCES := test_progs.c cgroup_helpers.c trace_helpers.c \ 502 network_helpers.c testing_helpers.c \ 503 btf_helpers.c flow_dissector_load.h \ 504 cap_helpers.c 505TRUNNER_EXTRA_FILES := $(OUTPUT)/urandom_read $(OUTPUT)/bpf_testmod.ko \ 506 $(OUTPUT)/liburandom_read.so \ | 86 87TEST_CUSTOM_PROGS = $(OUTPUT)/urandom_read 88 89# Emit succinct information message describing current building step 90# $1 - generic step name (e.g., CC, LINK, etc); 91# $2 - optional "flavor" specifier; if provided, will be emitted as [flavor]; 92# $3 - target (assumed to be file); only file name will be emitted; 93# $4 - optional extra arg, emitted as-is, if provided. --- 405 unchanged lines hidden (view full) --- 499TRUNNER_TESTS_DIR := prog_tests 500TRUNNER_BPF_PROGS_DIR := progs 501TRUNNER_EXTRA_SOURCES := test_progs.c cgroup_helpers.c trace_helpers.c \ 502 network_helpers.c testing_helpers.c \ 503 btf_helpers.c flow_dissector_load.h \ 504 cap_helpers.c 505TRUNNER_EXTRA_FILES := $(OUTPUT)/urandom_read $(OUTPUT)/bpf_testmod.ko \ 506 $(OUTPUT)/liburandom_read.so \ |
507 $(OUTPUT)/xdp_synproxy \ |
|
507 ima_setup.sh \ 508 $(wildcard progs/btf_dump_test_case_*.c) 509TRUNNER_BPF_BUILD_RULE := CLANG_BPF_BUILD_RULE 510TRUNNER_BPF_CFLAGS := $(BPF_CFLAGS) $(CLANG_CFLAGS) -DENABLE_ATOMICS_TESTS 511$(eval $(call DEFINE_TEST_RUNNER,test_progs)) 512 513# Define test_progs-no_alu32 test runner. 514TRUNNER_BPF_BUILD_RULE := CLANG_NOALU32_BPF_BUILD_RULE --- 75 unchanged lines hidden --- | 508 ima_setup.sh \ 509 $(wildcard progs/btf_dump_test_case_*.c) 510TRUNNER_BPF_BUILD_RULE := CLANG_BPF_BUILD_RULE 511TRUNNER_BPF_CFLAGS := $(BPF_CFLAGS) $(CLANG_CFLAGS) -DENABLE_ATOMICS_TESTS 512$(eval $(call DEFINE_TEST_RUNNER,test_progs)) 513 514# Define test_progs-no_alu32 test runner. 515TRUNNER_BPF_BUILD_RULE := CLANG_NOALU32_BPF_BUILD_RULE --- 75 unchanged lines hidden --- |