-
Notifications
You must be signed in to change notification settings - Fork 68
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
Print all test case error messages together at the end #745
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #745 +/- ##
=======================================
Coverage 42.97% 42.97%
=======================================
Files 61 61
Lines 16492 16492
Branches 1890 1890
=======================================
Hits 7087 7087
Misses 8356 8356
Partials 1049 1049 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@henryleberre might comment on the 'cleanness' of the toolchain implementation. For me, it seems reasonable and gets the job done.
Description
I have recently found the behavior described in #744 to be annoying. This PR addresses that by keeping a list of all failed tests and printing the errors all together at the end.
Fixes #744
Type of change
Please delete options that are not relevant.
Scope
How Has This Been Tested?
Test 1: I intentionally caused tests to fail due to tolerance by commenting out
dvd(0)
in the fifth order WENO reconstruction so the solution would be wrong. The resulting output of./mfc.sh test -j 1 -o bc=-1 > test1.txt
(without coloring) istest1.txt
Test 2: Intentionally caused tests to fail due to NaNs by commenting out
beta(0)
in the fifth-order WENO reconstruction. The resulting output of./mfc.sh test -j 1 -o bc=-1 > test2.txt
(without color) istest2.txt
Test 3: Intentionally caused tolerance errors in the WENO routine and skipped some tests. The result of running
./mfc.sh test -j 8 -o 1D -% 80 > test4.txt
(without color) istest4.txt