pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: regress: allow to specify directory containing expected files, f
Date: Sat, 20 Aug 2022 18:01:11 +0000
Message-ID: <E1oPSmU-000RPp-4m@gemulon.postgresql.org> (raw)

regress: allow to specify directory containing expected files, for ecpg

The ecpg tests have their input directory in the build directory, as the tests
need to be built. Until now that required copying the expected/ directory to
the build directory in VPATH builds. To avoid needing to implement the same
for the meson build, add support for specifying the location of the expected
directory.

Now that that's not needed anymore, remove the copying of ecpg's expected
directory to the build directory in VPATH builds.

Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Author: Andres Freund <andres@anarazel.de>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/20220718202327.pspcqz5mwbi2yb7w@awork3.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/interfaces/ecpg/test/Makefile          | 28 ++++++++++------------------
src/interfaces/ecpg/test/pg_regress_ecpg.c |  8 ++++----
src/test/regress/pg_regress.c              |  7 +++++++
src/test/regress/pg_regress.h              |  1 +
4 files changed, 22 insertions(+), 22 deletions(-)



Message-ID: <E1oPSmU-000RPp-4m@gemulon.postgresql.org>
Permalink:  ../E1oPSmU-000RPp-4m@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oPSmU-000RPp-4m@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: andres@anarazel.de
  Subject: Re: pgsql: regress: allow to specify directory containing expected files, f
  In-Reply-To: <E1oPSmU-000RPp-4m@gemulon.postgresql.org>
  References: <E1oPSmU-000RPp-4m@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