]> git.baikalelectronics.ru Git - kernel.git/commit
kunit: test: add the concept of expectations
authorBrendan Higgins <brendanhiggins@google.com>
Mon, 23 Sep 2019 09:02:35 +0000 (02:02 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 30 Sep 2019 23:35:00 +0000 (17:35 -0600)
commit4abfd564f606f5e0c3446c6622190d9b73aafde9
treed948d1ff9b0b7379327ce1af6b2c058a35f9385b
parent70f2a7a51be61bc7d6f2cd0d4d348c5c8ea3f103
kunit: test: add the concept of expectations

Add support for expectations, which allow properties to be specified and
then verified in tests.

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>
include/kunit/test.h
lib/kunit/test.c