Merge pull request #11827 from AdmiralCurtiss/ctest-output-on-failure CMake: Set --output-on-failure flag for unittests target.