aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kunit/string-stream-test.c
diff options
context:
space:
mode:
authorBrendan Higgins <[email protected]>2019-09-23 09:02:34 +0000
committerShuah Khan <[email protected]>2019-09-30 23:35:00 +0000
commit6b229e593ff9ac2fd8d83c3654e0f39fa1d49a67 (patch)
tree831d3c4ce1d207ce31c31c4615d8b75d6438f2e8 /lib/kunit/string-stream-test.c
parentkunit: test: add string_stream a std::stream like string builder (diff)
downloadkernel-6b229e593ff9ac2fd8d83c3654e0f39fa1d49a67.tar.gz
kernel-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 <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/kunit/string-stream-test.c')
0 files changed, 0 insertions, 0 deletions