From cd8b1cc2841a615df27da59cd62abc978ac34d27 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 8 Sep 2018 11:44:33 +0200 Subject: [PATCH] build-from-source: skip test checking for gtk-doc issue For libnm, we use opaque types. gtk-doc has/had an issue parsing this code, and generates suboptimal documentation. There is a merge request against gtk-doc to address that [1]. However, there is also a `make check` test, which tries to determine whether gtk-doc is suitable [2]. When building for beaker, we don't need this check. Also, because likely beaker is not up to the task. [1] https://gitlab.gnome.org/GNOME/gtk-doc/merge_requests/2 [2] https://github.com/NetworkManager/NetworkManager/pull/196 --- contrib/rh-bkr/build-from-source.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/rh-bkr/build-from-source.sh b/contrib/rh-bkr/build-from-source.sh index 9865167bab..ad26f873cc 100755 --- a/contrib/rh-bkr/build-from-source.sh +++ b/contrib/rh-bkr/build-from-source.sh @@ -15,6 +15,9 @@ DO_TEST_BUILD="${DO_TEST_BUILD:-yes}" DO_TEST_PACKAGE="${DO_TEST_PACKAGE:-yes}" DO_INSTALL="${DO_INSTALL:-yes}" +# https://github.com/NetworkManager/NetworkManager/pull/196 +export NMTST_IGNORE_GTK_DOC_PATCH=1 + if [ -z "$SUDO" ]; then unset SUDO fi