summaryrefslogtreecommitdiffstats
path: root/lib/kunit/Makefile
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2019-09-23 02:02:34 -0700
committerShuah Khan <skhan@linuxfoundation.org>2019-09-30 17:35:00 -0600
commit6b229e593ff9ac2fd8d83c3654e0f39fa1d49a67 (patch)
tree831d3c4ce1d207ce31c31c4615d8b75d6438f2e8 /lib/kunit/Makefile
parentd1fadef194008b22d7d9608426cad29d4bb69ab9 (diff)
downloadlinux-6b229e593ff9ac2fd8d83c3654e0f39fa1d49a67.tar.gz
linux-6b229e593ff9ac2fd8d83c3654e0f39fa1d49a67.tar.bz2
linux-6b229e593ff9ac2fd8d83c3654e0f39fa1d49a67.zip
kunit: test: add assertion printing library
Add `struct kunit_assert` and friends which provide a structured way to capture data from an expectation or an assertion (introduced later in the series) so that it may be printed out in the event of a failure. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/kunit/Makefile')
-rw-r--r--lib/kunit/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kunit/Makefile b/lib/kunit/Makefile
index 275b565a0e81..6dcbe309036b 100644
--- a/lib/kunit/Makefile
+++ b/lib/kunit/Makefile
@@ -1,2 +1,3 @@
obj-$(CONFIG_KUNIT) += test.o \
- string-stream.o
+ string-stream.o \
+ assert.o