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
This commit is contained in:
Thomas Haller 2018-09-08 11:44:33 +02:00
parent ac0a1b3c72
commit cd8b1cc284

View file

@ -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