pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Prevent LDAP and SSL tests from running without support in build
Date: Sat, 03 Mar 2018 13:56:03 +0000
Message-ID: <E1es7dr-000386-SY@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1es7dr-000386-SY@gemulon.postgresql.org>
Permalink:  ../E1es7dr-000386-SY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1es7dr-000386-SY@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Prevent LDAP and SSL tests from running without support in build
  In-Reply-To: <E1es7dr-000386-SY@gemulon.postgresql.org>
  References: <E1es7dr-000386-SY@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox