File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ script:
2727 - make
2828 - make check
2929after_success :
30- - cp src/.libs/*.gcda ./src/
3130 - cp -R ../src/* ./src/
3231 - cp -R ../src/details/* ./src/details/
3332 - cp -R ../src/httpserver/* ./src/httpserver/
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ export EXCLUDE_COVERAGE="--exclude .libs"
44
55find ../ -name * .gcda
66echo " Sending coveralls json report"
7- coveralls $EXCLUDE_COVERAGE --gcov-options ' \-lp' -b ./src
7+ coveralls $EXCLUDE_COVERAGE --gcov-options ' \-lp'
Original file line number Diff line number Diff line change @@ -25,12 +25,6 @@ nobase_include_HEADERS = httpserver.hpp httpserver/create_webserver.hpp httpserv
2525
2626AM_CXXFLAGS += -fPIC -Wall
2727
28- if COND_GCOV
29- AM_CFLAGS += -O0 --coverage
30- AM_CXXFLAGS += -O0 --coverage
31- AM_LDFLAGS += -O0 --coverage -lgcov
32- endif
33-
3428libhttpserver_la_LIBADD = -lmicrohttpd
3529libhttpserver_la_CFLAGS = $(AM_CFLAGS )
3630libhttpserver_la_CXXFLAGS = $(AM_CXXFLAGS )
Original file line number Diff line number Diff line change @@ -29,4 +29,10 @@ http_utils_SOURCES = unit/http_utils_test.cpp
2929noinst_HEADERS = littletest.hpp
3030AM_CXXFLAGS += -lcurl -Wall -fPIC
3131
32+ if COND_GCOV
33+ AM_CFLAGS += -O0 --coverage
34+ AM_CXXFLAGS += -O0 --coverage
35+ AM_LDFLAGS += -O0 --coverage -lgcov
36+ endif
37+
3238TESTS = $(check_PROGRAMS )
You can’t perform that action at this time.
0 commit comments