CTest: Fix Jacoco Coverage

Rename the example jacoco.xml file to be jacoco.xml.in to stop CMake
from apptempting to calculate Jacoco Coverage when running over itself.

Enclose a push of -1 to the coverage vector to only happen if there is a
fin to calculate for. This prevents a crash if the target file doesn't
exist.
This commit is contained in:
Joseph Snyder 2015-03-06 11:18:19 -05:00
parent 8f38b8a443
commit c771f9d945
3 changed files with 6 additions and 1 deletions