diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-07 10:35:33 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-04-07 13:45:55 +0200 |
commit | cc72089397eaea2f23a8202aa6e4ccdbf5496929 (patch) | |
tree | 75a9153618370e7906f1cd70b01ddc8ef7e3240e /tests | |
parent | 84a4d94b29958ace9b6d9f7022f557aa7af2f4f0 (diff) | |
download | gnutls-cc72089397eaea2f23a8202aa6e4ccdbf5496929.tar.gz |
tests: do not run pkgconfig test in systems with invalid libidn flags
This prevents our test from failing, due to invalid flags found in
a dependency of ours.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/pkgconfig.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pkgconfig.sh b/tests/pkgconfig.sh index 75bb59d10a..6bd4e62f9c 100755 --- a/tests/pkgconfig.sh +++ b/tests/pkgconfig.sh @@ -34,6 +34,13 @@ ${PKGCONFIG} --version >/dev/null || exit 77 PKG_CONFIG_PATH=${top_builddir}/lib export PKG_CONFIG_PATH +OTHER=$(${PKGCONFIG} --libs --static libidn) +OTHER="${OTHER} $(${PKGCONFIG} --libs --static p11-kit-1)" +if test -n "${OTHER}" && test "${OTHER#*-R}" != "$OTHER";then + echo "Found invalid string in libidn flags: ${OTHER}" + exit 77 +fi + set -e cat >$TMPFILE <<__EOF__ |