From: Sebastian Harl Date: Sun, 22 Dec 2013 17:43:11 +0000 (+0100) Subject: t/Makefile: Pass gcov flags to tests as well. X-Git-Tag: sysdb-0.1.0~278 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=14eddbd7f1a1a77e6691b5bb69b383f77ffcd2dc;p=sysdb.git t/Makefile: Pass gcov flags to tests as well. Else, some tests might not compile correctly. --- diff --git a/t/Makefile.am b/t/Makefile.am index 20bba43..c74da44 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -1,4 +1,6 @@ -AM_CFLAGS = @STRICT_CFLAGS@ +# coverage related flags are only set when gcov is enabled +AM_CFLAGS = @STRICT_CFLAGS@ @COVERAGE_CFLAGS@ +AM_LDFLAGS = @COVERAGE_LDFLAGS@ AM_CPPFLAGS = -I$(top_srcdir)/src/include TESTS = libsysdb_test libsysdb_net_test