CASL / Futility

VERA Fortran Utilities
Other
44 stars 20 forks source link

Fix potential deadlocks in UnitTest.f90 #179

Closed aarograh closed 5 years ago

aarograh commented 5 years ago

For parallel tests, if some procs had 0 asserts and some had more than 0, a deadlock would occur. Fixed by removing the IF statements and allowing all procs to communicate their passes and failures even if 0 asserts were hit. No harm in printing an empty subtest.

Also fixed a typo.