]> git.ipfire.org Git - pakfire.git/commitdiff
python: Enable coverage tests, too
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Jan 2025 13:34:32 +0000 (13:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Jan 2025 13:34:32 +0000 (13:34 +0000)
We should also check coverage for the Python modules. We might not
want/be able to get this to 100%, but a little bit is better than
nothing and it would also be very helpful to know what we actually
cannot cover.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 0a4a85bfead36d09058daea581e8c102f9657692..290e0294cc1bae8873c0c02ea5a49f280bd0d7e5 100644 (file)
@@ -136,6 +136,7 @@ pakfire_la_CPPFLAGS = \
 
 pakfire_la_CFLAGS = \
        $(AM_CFLAGS) \
+       $(COVERAGE_CFLAGS) \
        $(PYTHON_DEVEL_CFLAGS) \
        -Wno-cast-function-type \
        -Wno-redundant-decls \
@@ -143,6 +144,7 @@ pakfire_la_CFLAGS = \
 
 pakfire_la_LDFLAGS = \
        $(AM_LDFLAGS) \
+       $(COVERAGE_LDFLAGS) \
        -shared \
        -module \
        -avoid-version