CTEST_OUTPUT_ON_FAILURE needs to be an env variable