]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: iptables-test: Fix for 'make distcheck'
authorPhil Sutter <phil@nwl.cc>
Wed, 6 Nov 2024 14:18:36 +0000 (15:18 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 6 Nov 2024 15:09:52 +0000 (16:09 +0100)
commit55ac47847806c248fe6385f0f273e9e1017ea7ee
tree1dbc9df1037c5231efbe00a88f7fe9797f263db8
parent2393d33d4c44c25faf7784414abe546baccf71e4
tests: iptables-test: Fix for 'make distcheck'

This was a tricky one: Since called from VPATH topdir, extensions/ do
not contain test files at all. The script consequently passed since 0
tests failed (of 0 in total).

Fix this by introducing TESTS_PATH which is extensions/ below the directory
of the running iptables-test.py. Keep EXTENSIONS_PATH as-is: The built
extensions are indeed there and XTABLES_LIBDIR must point to them.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables-test.py