From: Michael Tremer Date: Fri, 24 Jan 2025 13:34:32 +0000 (+0000) Subject: python: Enable coverage tests, too X-Git-Tag: 0.9.30~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3eccc6b230f3fb0f8e5cdf78c00aa392e15313a;p=pakfire.git python: Enable coverage tests, too 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 --- diff --git a/Makefile.am b/Makefile.am index 0a4a85bf..290e0294 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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