diff options
| author | Brendan Higgins <[email protected]> | 2019-09-23 09:02:33 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2019-09-30 23:35:00 +0000 |
| commit | d1fadef194008b22d7d9608426cad29d4bb69ab9 (patch) | |
| tree | 6b95896245d9b87ec2a4128aeac14b99fd43b9e4 /lib/kunit/string-stream-test.c | |
| parent | kunit: test: add test resource management API (diff) | |
| download | kernel-d1fadef194008b22d7d9608426cad29d4bb69ab9.tar.gz kernel-d1fadef194008b22d7d9608426cad29d4bb69ab9.zip | |
kunit: test: add string_stream a std::stream like string builder
A number of test features need to do pretty complicated string printing
where it may not be possible to rely on a single preallocated string
with parameters.
So provide a library for constructing the string as you go similar to
C++'s std::string. string_stream is really just a string builder,
nothing more.
Signed-off-by: Brendan Higgins <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Logan Gunthorpe <[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
