diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-03-07 22:39:20 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-08 13:29:50 +0100 |
commit | e03782b6ce2f5b909ebb65ff1682126302200c80 (patch) | |
tree | 8c760526128f4154d02ab54cfe8f1a0bf284c46d | |
parent | f19b67ac5f1b876eb495ce261afc720425e27e96 (diff) | |
download | gnutls-e03782b6ce2f5b909ebb65ff1682126302200c80.tar.gz |
tests: do not run tests which require openpgp when it is disabled
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r-- | tests/openpgp-callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp-callback.c b/tests/openpgp-callback.c index c3f2c4cb17..3df10aca4e 100644 --- a/tests/openpgp-callback.c +++ b/tests/openpgp-callback.c @@ -27,7 +27,7 @@ #include <stdio.h> #include <stdlib.h> -#if defined(_WIN32) +#if defined(_WIN32) || !defined(ENABLED_OPENPGP) /* socketpair isn't supported on Win32. */ int main(int argc, char **argv) |