CTest: Properly reset output to avoid duplication with --repeat-until-fail
The test output was not cleared when starting the test execution. As a result when using --repeat-until-fail
the output was concatenated at each execution.
I've also cleared the CompressedOutput
variable though I'm not really sure if it has any impact. I don't know if --repeat-until-fail
can be used in a CTest script to submit to CDash.