summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-09-08 11:44:33 +0200
committerThomas Haller <thaller@redhat.com>2018-09-08 11:44:34 +0200
commitcd8b1cc2841a615df27da59cd62abc978ac34d27 (patch)
tree29c7e4a9d4c0cf86564f9ac8571f8a0d9ae8848f
parentac0a1b3c72dd7971336411930c7ebeb2fb389616 (diff)
downloadNetworkManager-cd8b1cc2841a615df27da59cd62abc978ac34d27.tar.gz
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
-rwxr-xr-xcontrib/rh-bkr/build-from-source.sh3
1 files changed, 3 insertions, 0 deletions
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