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
Delegated to: Netdev Maintainers
Headers show
Series [net-next,v1] selftests: net: dsa: Add a Makefile which installs the selftests | expand

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch warning WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

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