Adding an empty test, e.g. tests/Test_Reflection.F90, and then adding to tests/selfTests.F90, causes an odd run-time failure.
I found that even if your test was completely empty that merely including the test caused the failure. Deleting most other tests would let it run.
My conclusion is that were are dealing with a subtle bug in 13.1. When you remove your test, the regression will work again. But we’ll caution people against using 13.1. [TLC]
Note: Recall an earlier error in which exceptions in one test were getting the names of other tests.