Re: [PATCH v4 03/18] kunit: test: add string_stream a std::stream like string builder

2019-06-04 Thread Brendan Higgins
On Fri, May 17, 2019 at 10:43 AM Stephen Boyd wrote: > > Quoting Brendan Higgins (2019-05-14 15:16:56) > > 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 libr

Re: [PATCH v4 03/18] kunit: test: add string_stream a std::stream like string builder

2019-05-17 Thread Stephen Boyd
Quoting Brendan Higgins (2019-05-14 15:16:56) > 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::s

[PATCH v4 03/18] kunit: test: add string_stream a std::stream like string builder

2019-05-14 Thread Brendan Higgins
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. Signed-off-by: Brendan Higgins Reviewed-by: Greg