pgsql: Prevent LDAP and SSL tests from running without support inbuild - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Prevent LDAP and SSL tests from running without support inbuild
Date
Msg-id E1es7dr-000386-SY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ff18115ae9dc2f2e54f5feb8cd9c493bd963a641

Modified Files
--------------
src/test/ldap/Makefile         |  2 ++
src/test/ldap/t/001_auth.pl    | 11 ++++++++++-
src/test/ssl/Makefile          |  2 ++
src/test/ssl/t/001_ssltests.pl | 11 ++++++++++-
src/test/ssl/t/002_scram.pl    | 11 ++++++++++-
5 files changed, 34 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: Re: pgsql: Fix msvc builds for ActivePerl > 5.24
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Improve wording