summaryrefslogtreecommitdiff
path: root/src/test/ssl/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-03-03 08:52:21 -0500
committerPeter Eisentraut <peter_e@gmx.net>2018-03-03 08:52:21 -0500
commitff18115ae9dc2f2e54f5feb8cd9c493bd963a641 (patch)
tree809e19761a15972f4c94cea1b9b739b68b33eb45 /src/test/ssl/Makefile
parentfdb34824e01d14e21566806ea37e974ac61ef1a4 (diff)
downloadpostgresql-ff18115ae9dc2f2e54f5feb8cd9c493bd963a641.tar.gz
Prevent LDAP and SSL tests from running without support in build
Add checks in each test file that the build supports the feature, otherwise skip all the tests. Before, if someone were to (accidentally) invoke these tests without build support, they would fail in confusing ways. based on patch from Michael Paquier <michael@paquier.xyz>
Diffstat (limited to 'src/test/ssl/Makefile')
-rw-r--r--src/test/ssl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ssl/Makefile b/src/test/ssl/Makefile
index 4e9095529a..5cd2c5a404 100644
--- a/src/test/ssl/Makefile
+++ b/src/test/ssl/Makefile
@@ -13,6 +13,8 @@ subdir = src/test/ssl
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
+export with_openssl
+
CERTIFICATES := server_ca server-cn-and-alt-names \
server-cn-only server-single-alt-name server-multiple-alt-names \
server-no-names server-revoked server-ss \