OSDN Git Service

kunit: test: add initial tests
authorBrendan Higgins <brendanhiggins@google.com>
Mon, 23 Sep 2019 09:02:37 +0000 (02:02 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 30 Sep 2019 23:35:01 +0000 (17:35 -0600)
commitd8e2a76b4c7918e4639de17db3d35c86ceb48506
tree5b41f982b31fe6a5537f2231c0c81d6251d895c8
parent84bc809eecf37f3bd3ee7d2002b2528787a11cb1
kunit: test: add initial tests

Add a test for string stream along with a simpler example.

Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/Kconfig
lib/kunit/Makefile
lib/kunit/example-test.c [new file with mode: 0644]
lib/kunit/string-stream-test.c [new file with mode: 0644]