diff mbox series

[net-next,v1] selftests: net: dsa: Add a Makefile which installs the selftests

Message ID 20220727191642.480279-1-martin.blumenstingl@googlemail.com (mailing list archive)
State Accepted
Commit 6ecf206d602fafd077811b6033c183deb0c0a9c8
Headers show
Series [net-next,v1] selftests: net: dsa: Add a Makefile which installs the selftests | expand

Commit Message

Martin Blumenstingl July 27, 2022, 7:16 p.m. UTC
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>
---
 .../testing/selftests/drivers/net/dsa/Makefile  | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 tools/testing/selftests/drivers/net/dsa/Makefile

Comments

Vladimir Oltean July 28, 2022, 12:11 a.m. UTC | #1
On Wed, Jul 27, 2022 at 09:16:42PM +0200, Martin Blumenstingl wrote:
> 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>

Thanks for doing this!
patchwork-bot+netdevbpf@kernel.org July 29, 2022, 5:30 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 27 Jul 2022 21:16:42 +0200 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - [net-next,v1] selftests: net: dsa: Add a Makefile which installs the selftests
    https://git.kernel.org/netdev/net-next/c/6ecf206d602f

You are awesome, thank you!
diff mbox series

Patch

diff --git a/tools/testing/selftests/drivers/net/dsa/Makefile b/tools/testing/selftests/drivers/net/dsa/Makefile
new file mode 100644
index 000000000000..2a731d5c6d85
--- /dev/null
+++ b/tools/testing/selftests/drivers/net/dsa/Makefile
@@ -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