]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
libtls: Enable code coverage
authorTobias Brunner <tobias@strongswan.org>
Wed, 9 Sep 2020 09:36:53 +0000 (11:36 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 9 Sep 2020 11:25:30 +0000 (13:25 +0200)
While the test runner was already correctly set up, the library itself
was not and no coverage was reported for any of its files.

src/libtls/Makefile.am

index b6496363c0f028548790d85835a0f84fc5320093..7319bd76fe0bd9fa5ded084accc8eb9f86635812 100644 (file)
@@ -1,6 +1,9 @@
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
+AM_CFLAGS = \
+       @COVERAGE_CFLAGS@
+
 AM_LDFLAGS = \
        -no-undefined