summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-07 10:35:33 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-07 10:55:17 +0200
commitdf66a1184c4221674e9591f976684bb195d1c378 (patch)
treed05285e3af8a66fd2715ee249decc0ef2a5f2f87
parentfe05c4e12a8ad4978fb5c291a71bf534386549d0 (diff)
downloadgnutls-tmp-print-keypin-on-certtool.tar.gz
tests: do not run pkgconfig test in systems with invalid libidn flagstmp-print-keypin-on-certtool
This prevents our test from failing, due to invalid flags found in a dependency of ours. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rwxr-xr-xtests/pkgconfig.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh
index 75bb59d10a..584c5691f1 100755
--- a/tests/pkgconfig.sh
+++ b/tests/pkgconfig.sh
@@ -34,6 +34,12 @@ ${PKGCONFIG} --version >/dev/null || exit 77
PKG_CONFIG_PATH=${top_builddir}/lib
export PKG_CONFIG_PATH
+OTHER=$(${PKGCONFIG} --libs --static libidn)
+if test -n "${OTHER}" && test "${string#*-R}" != "$string";then
+ echo "Found invalid string in libidn flags: ${OTHER}"
+ exit 77
+fi
+
set -e
cat >$TMPFILE <<__EOF__