-
Notifications
You must be signed in to change notification settings - Fork 97
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #745 +/- ##
=======================================
Coverage 43.63% 43.63%
=======================================
Files 61 61
Lines 16893 16893
Branches 1948 1948
=======================================
Hits 7372 7372
Misses 8404 8404
Partials 1117 1117 ☔ View full report in Codecov by Sentry. |
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.
Is this in conflict with something added by @henryleberre in #737 ? |
Merged without issue |
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