pgsql: regress: allow to specify directory containing expected files, f

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: regress: allow to specify directory containing expected files, f
Date: 2022-08-20 18:01:11
Message-ID: E1oPSmU-000RPp-4m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Author: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-08-20 19:04:10 pgsql: Remove dummyret definition
Previous Message Peter Eisentraut 2022-08-20 11:57:10 pgsql: Remove remaining mentions of UNSAFE_STAT_OK