testing/pspp: disable generation of documentation

This works around a bug triggered when generating the figures in the
doc. See https://savannah.gnu.org/bugs/index.php?65892

This caused 3 unit tests to fail, which are disabled for this reason.
This commit is contained in:
Marian Buschsieweke 2024-09-29 14:19:38 +02:00 committed by Celeste
parent 0938366738
commit 79b7509de8
2 changed files with 26 additions and 0 deletions

View File

@ -12,6 +12,7 @@ source="
https://ftpmirror.gnu.org/pspp/pspp-$pkgver.tar.gz
fix-compilation-with-gtksourceview-3.22.patch
disable-doc.patch
"
makedepends="
autoconf
@ -59,6 +60,16 @@ build() {
}
check() {
# The following tests fail now since the generation of the doc has been
# disabled:
_failing_tests="
1144
1527
1363
"
for test in $_failing_tests; do
sed -i -e "/^$test;.*\$/d" tests/testsuite
done
make check
}
@ -69,4 +80,5 @@ package() {
sha512sums="
e9be8c46d5e46b3665d1efa0e8015a0c738ceef8cdd8f8dddc7288cc6522c66a1372f7ad7be42caafbe2b37a96c31b83c3a4ad0503bdb2f0b1e3261c33529b31 pspp-2.0.1.tar.gz
428be32c607f91c907645d870d1f3449ad04f469e142794bb39ec21c7061a69e9dda7f273ac771f39d3761620179f518d9bc1c960e9e2da33fd1293bb5e04ae7 fix-compilation-with-gtksourceview-3.22.patch
745ad99afe5d8e6f1026cec769d478ee9cea026731248da1520b3b401efb27d80d8e640aa548e1c04f72b02c16cf1b7b45a59c0143d2ca6f6b8fae67ae712573 disable-doc.patch
"

View File

@ -0,0 +1,14 @@
Disable the doc generation to work around the bug tracked in:
https://savannah.gnu.org/bugs/index.php?65892
TODO: Drop this patch, once the bug is fixed.
--- a/Makefile.am 2024-09-29 13:41:23.017935137 +0200
+++ b/Makefile.am 2024-09-29 14:05:22.251911243 +0200
@@ -85,7 +85,6 @@ include $(top_srcdir)/examples/automake.
include $(top_srcdir)/src/automake.mk
include $(top_srcdir)/utilities/automake.mk
include $(top_srcdir)/tests/automake.mk
-include $(top_srcdir)/doc/automake.mk
include $(top_srcdir)/Windows/automake.mk
if WITH_PERL_MODULE