]> granicus.if.org Git - postgresql/commit
Prevent LDAP and SSL tests from running without support in build
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 3 Mar 2018 13:52:21 +0000 (08:52 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 3 Mar 2018 13:52:21 +0000 (08:52 -0500)
commitff18115ae9dc2f2e54f5feb8cd9c493bd963a641
tree809e19761a15972f4c94cea1b9b739b68b33eb45
parentfdb34824e01d14e21566806ea37e974ac61ef1a4
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>
src/test/ldap/Makefile
src/test/ldap/t/001_auth.pl
src/test/ssl/Makefile
src/test/ssl/t/001_ssltests.pl
src/test/ssl/t/002_scram.pl