New issue
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
Change Assert to AssertThrow in the tests. #688
Conversation
Before we do this, I'd like to share an observation I mad the other day. If you run into a testcase that uses AssertThrow or throws an exception directly, then right now you simply end up with a testcase that silently aborts. It will return a nonzero error code, but the exception is not printed on the screen. So, if we change |
I can go back and add |
Please give me half a day to think about this. :-) @bangerth: This is a bit surprising. A test should set |
@tamiko : Only a few tests actually set |
We could also try to investigate why this piece in
|
This is because we are not writing cout/cerr into the test output file, right? If I run a test with |
Uh, maybe I misremember? I had a case where an exception was thrown via |
If I do
on screen. If I use |
Change Assert to AssertThrow in the tests.
Exactly - we're not doing this at the moment. |
This fixes #598 It's not perfect but it's much better than what we had. I've run the testsuite and it's seems to work (http://cdash.kyomu.43-1.org/buildSummary.php?buildid=5031the warnings are due to the version of openmpi, I'm using).