selftests: net: dsa: Add a Makefile which installs the selftests
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Wed, 27 Jul 2022 19:16:42 +0000 (21:16 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Jul 2022 05:04:31 +0000 (22:04 -0700)
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>
tools/testing/selftests/drivers/net/dsa/Makefile [new file with mode: 0644]

diff --git a/tools/testing/selftests/drivers/net/dsa/Makefile b/tools/testing/selftests/drivers/net/dsa/Makefile
new file mode 100644 (file)
index 0000000..2a731d5
--- /dev/null
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0+ OR MIT
+
+TEST_PROGS = bridge_locked_port.sh \
+       bridge_mdb.sh \
+       bridge_mld.sh \
+       bridge_vlan_aware.sh \
+       bridge_vlan_mcast.sh \
+       bridge_vlan_unaware.sh \
+       local_termination.sh \
+       no_forwarding.sh \
+       test_bridge_fdb_stress.sh
+
+TEST_PROGS_EXTENDED := lib.sh
+
+TEST_FILES := forwarding.config
+
+include ../../../lib.mk