mbox series

[net-next,v2,0/5] MCTP kunit tests

Message ID 20211003031708.132096-1-jk@codeconstruct.com.au (mailing list archive)
Headers show
Series MCTP kunit tests | expand

Message

Jeremy Kerr Oct. 3, 2021, 3:17 a.m. UTC
This change adds some initial kunit tests for the MCTP core. We'll
expand the coverage in a future series, and augment with a few
selftests, but this establishes a baseline set of tests for now.

Thanks to the kunit folks for the framework!

Cheers,


Jeremy

---

v2:
 - fix MCTP=m, KUNIT={y,m} breakage
 - fix mctp test netdev initialisation
 - strict route reference count checking

---

Jeremy Kerr (5):
  mctp: Add initial test structure and fragmentation test
  mctp: Add test utils
  mctp: Add packet rx tests
  mctp: Add route input to socket tests
  mctp: Add input reassembly tests

 net/mctp/Kconfig           |   5 +
 net/mctp/Makefile          |   3 +
 net/mctp/route.c           |   5 +
 net/mctp/test/route-test.c | 544 +++++++++++++++++++++++++++++++++++++
 net/mctp/test/utils.c      |  67 +++++
 net/mctp/test/utils.h      |  20 ++
 6 files changed, 644 insertions(+)
 create mode 100644 net/mctp/test/route-test.c
 create mode 100644 net/mctp/test/utils.c
 create mode 100644 net/mctp/test/utils.h

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 3, 2021, 1:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Sun,  3 Oct 2021 11:17:03 +0800 you wrote:
> This change adds some initial kunit tests for the MCTP core. We'll
> expand the coverage in a future series, and augment with a few
> selftests, but this establishes a baseline set of tests for now.
> 
> Thanks to the kunit folks for the framework!
> 
> Cheers,
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/5] mctp: Add initial test structure and fragmentation test
    https://git.kernel.org/netdev/net-next/c/161eba50e183
  - [net-next,v2,2/5] mctp: Add test utils
    https://git.kernel.org/netdev/net-next/c/ded21b722995
  - [net-next,v2,3/5] mctp: Add packet rx tests
    https://git.kernel.org/netdev/net-next/c/b504db408c34
  - [net-next,v2,4/5] mctp: Add route input to socket tests
    https://git.kernel.org/netdev/net-next/c/8892c0490779
  - [net-next,v2,5/5] mctp: Add input reassembly tests
    https://git.kernel.org/netdev/net-next/c/1e5e9250d422

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html