tools: testing: selftests: prefer TEST_PROGS for conntrack_dump_flush
Subsystems (4)
Florian Westphal
maintainerPATCH v2 1/1 tools: testing: selftests: prefer TEST_PROGS for conntrack_dump_flush
Currently conntrack_dump_flush test program always runs when passing TEST_PROGS argument:
% make -C tools/testing/selftests TARGETS=net/netfilter \
TEST_PROGS=conntrack_ipip_mtu.sh run_tests
make: Entering [..]
TAP version 13
1..2 [..]
selftests: net/netfilter: conntrack_dump_flush [..]
Move away from TEST_CUSTOM_PROGS to avoid this. After this, above command will only run the program specified in TEST_PROGS.
---
v2: use TEST_GEN_PROGS instead of TEST_PROGS+.sh wrapper
tools/testing/selftests/net/netfilter/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
tools/testing/selftests/net/netfilter/Makefile +1 -2
@@ -28,10 +28,9 @@ TEST_PROGS += nft_zones_many.sh TEST_PROGS += rpath.sh TEST_PROGS += xt_string.sh -TEST_CUSTOM_PROGS += conntrack_dump_flush +TEST_GEN_PROGS = conntrack_dump_flush TEST_GEN_FILES = audit_logread -TEST_GEN_FILES += conntrack_dump_flush TEST_GEN_FILES += connect_close nf_queue TEST_GEN_FILES += sctp_collision
Signature · 1 line
2.43.2
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 11 lines · On Wed, 24 Apr 2024 11:58:20 +0200 you wrote:
Currently
conntrack_dump_flushtest program always runs when passingTEST_PROGSargument:% make -C
tools/testing/selftestsTARGETS=net/netfilter \
TEST_PROGS=conntrack_ipip_mtu.shrun_tests
make: Entering [..]
TAP version 13
1..2 [..]
selftests: net/netfilter:conntrack_dump_flush[..][...]
Here is the summary with links:
- [v2,net-next] tools: testing: selftests: prefer TEST_PROGS for conntrack_dump_flush
https://git.kernel.org/netdev/net-next/c/a9e59f712582
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html