diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2021-10-01 11:18:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-01 16:19:00 +0300 |
commit | 8c02066b053dbe8f483cb12ad792ec768e2daecf (patch) | |
tree | 3c91ba9d4451c4762c38b3fab5c6d096f5029522 /net/mctp/Kconfig | |
parent | ea2dd331bfaaeba74ba31facf437c29044f7d4cb (diff) | |
download | linux-8c02066b053dbe8f483cb12ad792ec768e2daecf.tar.xz |
mctp: Add initial test structure and fragmentation test
This change adds the first kunit test for the mctp subsystem, and an
initial test for the fragmentation path.
We're adding tests under a new net/mctp/test/ directory.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mctp/Kconfig')
-rw-r--r-- | net/mctp/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mctp/Kconfig b/net/mctp/Kconfig index 2cdf3d0a28c9..15267a5043d9 100644 --- a/net/mctp/Kconfig +++ b/net/mctp/Kconfig @@ -11,3 +11,8 @@ menuconfig MCTP This option enables core MCTP support. For communicating with other devices, you'll want to enable a driver for a specific hardware channel. + +config MCTP_TEST + tristate "MCTP core tests" if !KUNIT_ALL_TESTS + depends on MCTP && KUNIT + default KUNIT_ALL_TESTS |