JoakimSoderberg / coveralls-cmake-example

Example project for coveralls-cmake
20 stars 5 forks source link

Trying to learn increased code coverage for C/C++ #1

Open montao opened 6 years ago

montao commented 6 years ago

My makefile is quite simple

BST:    bst.c
        gcc -fprofile-arcs -ftest-coverage -g bst.c -o bst

I could get coveralls code coverage to work with make and C in my repository www.github.com/montao/BST which is a binary tree. I'm trying to increase the code coverage but I'm not sure what I'm doing. At one point I got 98 % coverage but right now it is about 90 %.

JoakimSoderberg commented 6 years ago

I fail to see your question?

This repository is an example of using a CMake script https://github.com/JoakimSoderberg/coveralls-cmake to compile and gather coverage information with a simple example...

You refer to a hand made Makefile and nothing regarding this project. Just a question about coverage in general?