You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use the macro CESTER_STDERR_CONTENT to print out the stderr content to see if anything is in it
printf("%s", CESTER_STDERR_CONTENT())
Or verify the output stream the function is printing into, if it is not stderr you can capture the stream manually
// stream can be stdout, stderr, a FILE handle, etc.CESTER_CAPTURE_STREAM(stream);
__wrap_infrsprin_(&n,rp,ip,c,&torq1);
cester_assert_stream_content_contain(stream, "constraint");
CESTER_RELEASE_STREAM(stream);
I assume the function _wrap_infrsprin prints to a stream in the course of it execution.
I have an issue with this code
that seems to not capture stderr stream content
The text was updated successfully, but these errors were encountered: