pgsql: Prevent LDAP and SSL tests from running without support in build

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent LDAP and SSL tests from running without support in build
Date: 2018-03-03 13:56:03
Message-ID: E1es7dr-000386-SY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)paquier(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-03-03 14:56:41 pgsql: doc: Improve wording
Previous Message Noah Misch 2018-03-03 08:00:21 Re: pgsql: Fix msvc builds for ActivePerl > 5.24