Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: net: dsa: Add a Makefile which installs the selftests

Add a Makefile which takes care of installing the selftests in
tools/testing/selftests/drivers/net/dsa. This can be used to install all
DSA specific selftests and forwarding.config using the same approach as
for the selftests in tools/testing/selftests/net/forwarding.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20220727191642.480279-1-martin.blumenstingl@googlemail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Martin Blumenstingl and committed by
Jakub Kicinski
6ecf206d 13719a5b

+17
+17
tools/testing/selftests/drivers/net/dsa/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0+ OR MIT 2 + 3 + TEST_PROGS = bridge_locked_port.sh \ 4 + bridge_mdb.sh \ 5 + bridge_mld.sh \ 6 + bridge_vlan_aware.sh \ 7 + bridge_vlan_mcast.sh \ 8 + bridge_vlan_unaware.sh \ 9 + local_termination.sh \ 10 + no_forwarding.sh \ 11 + test_bridge_fdb_stress.sh 12 + 13 + TEST_PROGS_EXTENDED := lib.sh 14 + 15 + TEST_FILES := forwarding.config 16 + 17 + include ../../../lib.mk