File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 14
14
ana
15
15
io
16
16
qp
17
+ * .gcno
18
+ * .gcda
19
+ * .gcov
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ install:
14
14
script :
15
15
- cd $TRAVIS_BUILD_DIR
16
16
- make
17
+ - gcov *.gcno
17
18
- ./graphpass
18
19
19
20
after_success :
Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ BUILD = build/
25
25
all : clean test install
26
26
27
27
install : src/main/graphpass.c
28
- gcc src/main/* .c $(DEPS ) -L$(IGRAPH_LIB ) -ligraph -lm -o graphpass
28
+ gcc src/main/* .c $(DEPS ) -L$(IGRAPH_LIB ) -ligraph -lm -o graphpass -fprofile-arcs -ftest-coverage
29
29
- ./graphpass -qnv
30
30
31
31
release : src/main/graphpass.c
32
- gcc src/main/* .c $(DEPS ) -L$(IGRAPH_LIB ) -ligraph -lm -o graphpass
32
+ gcc src/main/* .c $(DEPS ) -L$(IGRAPH_LIB ) -ligraph -lm -o graphpass -fprofile-arcs -ftest-coverage
33
33
- ./graphpass -qgnv
34
34
35
35
debug : ./src/main/graphpass.c
36
- gcc -g -Wall src/main/* .c $(DEPS ) -L$(IGRAPH_LIB ) -ligraph -lm -o graphpass
36
+ gcc -g -Wall src/main/* .c $(DEPS ) -L$(IGRAPH_LIB ) -ligraph -lm -o graphpass -fprofile-arcs -ftest-coverage
37
37
38
38
test : qp ana io run clean
39
39
59
59
rm -rf TEST_OUT_FOLDER
60
60
rm -rf $(BUILD )
61
61
rm -f graphpass
62
+ rm -f * .gcno
63
+ rm -f * .gcda
64
+ rm -f * .c.gcov
65
+ rm -f * .h.gcov
You can’t perform that action at this time.
0 commit comments