selftests: forwarding: List helper scripts in TEST_FILES Makefile variable
authorBenjamin Poirier <bpoirier@nvidia.com>
Wed, 31 Jan 2024 14:08:48 +0000 (09:08 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 1 Feb 2024 16:36:36 +0000 (08:36 -0800)
Some scripts are not tests themselves; they contain utility functions used
by other tests. According to Documentation/dev-tools/kselftest.rst, such
files should be listed in TEST_FILES. Currently they are incorrectly listed
in TEST_PROGS_EXTENDED so rename the variable.

Fixes: c085dbfb1cfc ("selftests/net/forwarding: define libs as TEST_PROGS_EXTENDED")
Suggested-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Link: https://lore.kernel.org/r/20240131140848.360618-6-bpoirier@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/Makefile

index 452693514be4b06842dbe32088c5495c2c933f0b..4de92632f48360c0002900260af9b35d34186f4b 100644 (file)
@@ -112,7 +112,7 @@ TEST_PROGS = bridge_fdb_learning_limit.sh \
        vxlan_symmetric_ipv6.sh \
        vxlan_symmetric.sh
 
-TEST_PROGS_EXTENDED := devlink_lib.sh \
+TEST_FILES := devlink_lib.sh \
        ethtool_lib.sh \
        fib_offload_lib.sh \
        forwarding.config.sample \