diff mbox series

[net-next,v8,4/4] netdevsim: add Makefile for selftests

Message ID 20240130214620.3722189-5-dw@davidwei.uk (mailing list archive)
State Superseded
Commit 8ff25dac88f616ebebb30830e3a20f079d7a30c9
Delegated to: Netdev Maintainers
Headers show
Series netdevsim: link and forward skbs between ports | expand

Commit Message

David Wei Jan. 30, 2024, 9:46 p.m. UTC
Add a Makefile for netdevsim selftests and add selftests path to
MAINTAINERS

Signed-off-by: David Wei <dw@davidwei.uk>
---
 MAINTAINERS                                    |  1 +
 .../selftests/drivers/net/netdevsim/Makefile   | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 tools/testing/selftests/drivers/net/netdevsim/Makefile

Comments

Jakub Kicinski Feb. 5, 2024, 3:32 p.m. UTC | #1
On Tue, 30 Jan 2024 13:46:20 -0800 David Wei wrote:
> Add a Makefile for netdevsim selftests and add selftests path to
> MAINTAINERS
> 
> Signed-off-by: David Wei <dw@davidwei.uk>

Hi David! I'll apply this already. I have to move the current
CI runner for nsim because $$$, and making it more uniform
simplifies things.
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 92152ac346c8..562af3dfd2d0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -15082,6 +15082,7 @@  NETDEVSIM
 M:	Jakub Kicinski <kuba@kernel.org>
 S:	Maintained
 F:	drivers/net/netdevsim/*
+F:	tools/testing/selftests/drivers/net/netdevsim/*
 
 NETEM NETWORK EMULATOR
 M:	Stephen Hemminger <stephen@networkplumber.org>
diff --git a/tools/testing/selftests/drivers/net/netdevsim/Makefile b/tools/testing/selftests/drivers/net/netdevsim/Makefile
new file mode 100644
index 000000000000..5bace0b7fb57
--- /dev/null
+++ b/tools/testing/selftests/drivers/net/netdevsim/Makefile
@@ -0,0 +1,18 @@ 
+# SPDX-License-Identifier: GPL-2.0+ OR MIT
+
+TEST_PROGS = devlink.sh \
+	devlink_in_netns.sh \
+	devlink_trap.sh \
+	ethtool-coalesce.sh \
+	ethtool-fec.sh \
+	ethtool-pause.sh \
+	ethtool-ring.sh \
+	fib.sh \
+	hw_stats_l3.sh \
+	nexthop.sh \
+	peer.sh \
+	psample.sh \
+	tc-mq-visibility.sh \
+	udp_tunnel_nic.sh \
+
+include ../../../lib.mk