Remove reset of testtablespace from pg_regress on Windows
authorMichael Paquier <michael@paquier.xyz>
Thu, 18 Jun 2020 01:40:10 +0000 (10:40 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 18 Jun 2020 01:40:10 +0000 (10:40 +0900)
commit2b2a070d98b2f2c7ecc031e582cfefa400316ce3
tree9506ca56330605a757758c769a40d36d14514b07
parentd8b15eeb8a1acbe01b502ddd3390d7f1824c7a25
Remove reset of testtablespace from pg_regress on Windows

testtablespace is an extra path used as tablespace location in the main
regression test suite, computed from --outputdir as defined by the
caller of pg_regress (current directory if undefined).

This special handling was introduced as of f10589e to be specific to
MSVC, as we let pg_regress' Makefile handle this cleanup in other
environments.  This moves the cleanup to the MSVC script running
regression tests instead where needed: check, installcheck and
upgradecheck.  I have also checked this patch on MSVC with repeated runs
of each target.

Author: Kyotaro Horiguchi, Michael Paquier
Discussion: https://postgr.es/m/20200219.142519.437573253063431435.horikyota.ntt@gmail.com
src/test/regress/pg_regress.c
src/tools/msvc/vcregress.pl