Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy CMake config #175

Open
chrisosaurus opened this issue Jul 8, 2018 · 0 comments
Open

Buggy CMake config #175

chrisosaurus opened this issue Jul 8, 2018 · 0 comments

Comments

@chrisosaurus
Copy link

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
eddyxu/cpp-coveralls#111 (comment)

chrisosaurus added a commit to chrisosaurus/RadixEngine that referenced this issue Jul 8, 2018
to be run twice, ctest and make do not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant