From: Tomas Krizek Date: Mon, 25 Mar 2019 08:46:57 +0000 (+0100) Subject: pytests: check minimum required gnutls version X-Git-Tag: v4.0.0~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a951b508c4b5e5b719d831095ec03a7075ac974;p=thirdparty%2Fknot-resolver.git pytests: check minimum required gnutls version Add a message to make extra requirements clear instead of throwing a compilation error. Closes #457 --- diff --git a/tests/pytests/meson.build b/tests/pytests/meson.build index faef8f5e9..185f713d5 100644 --- a/tests/pytests/meson.build +++ b/tests/pytests/meson.build @@ -9,6 +9,10 @@ py3_deps += [ ['xdist', 'pytest-xdist (for pytests)'], ] +if gnutls.version().version_compare('<3.6.4') + error('pytests require GnuTLS >= 3.6.4') +endif + # compile tlsproxy tlsproxy_src = files([ 'proxy/tlsproxy.c',