summaryrefslogtreecommitdiff
path: root/src/libpcp/src/GNUlocaldefs.coverage
blob: 9df0befd8f463a9dae96866f5016635119b29981 (plain)
1
2
3
4
5
6
7
8
9
10
11
# example QA build for libpcp ... to enable
#	$ make clean
# 	$ ln GNUlocaldefs.coverage GNUlocaldefs
#	$ make
#	$ sudo make install
# this one turns on coverage hooks for gcov and ggcov and builds
# libpcp with fault injection enabled
#
CFLAGS += -fprofile-arcs -ftest-coverage -DPM_FAULT_INJECTION
LDLIBS += -lgcov -lpcp_pmda
LDIRT = *.gcov *.gcda *.gcno