We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try and have a test which looks to print output after having made assertions on redirected output, then the test crashes:
Test(capturing_output, std_output, .init = redirect_all_stdout) { fprintf(stderr, "something"); cr_assert_stderr_eq_str("something"); }
Test(capturing_output, std_output, .init = redirect_all_stdout) { fprintf(stderr, "something"); cr_assert_stderr_eq_str("something"); fprintf(stderr, " else"); }
[----] /Users/oliver/ClionProjects/testing/src/testing/tests/example.c:28: Unexpected signal caught below this line! [FAIL] capturing_output::std_output: CRASH! [====] Synthesis: Tested: 4 | Passing: 3 | Failing: 1 | Crashing: 1
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue.
This is the consequence of #451 (comment), it will be fixed together with #451.
Sorry, something went wrong.
No branches or pull requests
When I try and have a test which looks to print output after having made assertions on redirected output, then the test crashes:
Works
Crashes
The text was updated successfully, but these errors were encountered: