RadixEngine icon indicating copy to clipboard operation
RadixEngine copied to clipboard

Buggy CMake config

Open chrisosaurus opened this issue 7 years ago • 0 comments

Running CMake once or twice with the COVERAGE option set produces different results

cmake -DCOVERAGE:BOOL=ON ./&& make && make tests && ctest
find . -iname '*gcno' | wc -l
find . -iname '*gcda' | wc -l
grep -Rni 'coverage' CMakeFiles/* | wc -l

outputs

1
0
2

whereas

cmake -DCOVERAGE:BOOL=ON && cmake -DCOVERAGE:BOOL=ON ./ && make && make tests && ctest
find . -iname '*gcno' | wc -l
find . -iname '*gcda' | wc -l
grep -Rni 'coverage' CMakeFiles/* | wc -l

outputs

172
54
3

For more context please see https://github.com/eddyxu/cpp-coveralls/issues/111#issuecomment-403261317

chrisosaurus avatar Jul 08 '18 04:07 chrisosaurus