Skip to content

Commit a53f0ed

Browse files
committed
MSVC: Remove any tmp_check directory before running a TAP test suite.
Back-patch to v11, where commit 90627cf made the GNU make build system do likewise. Without this, when a typical PostgresNode-using test failed, subsequent runs bailed out with a "File exists" error.
1 parent d83423d commit a53f0ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use File::Basename;
1111
use File::Copy;
1212
use File::Find ();
13+
use File::Path qw(rmtree);
1314

1415
use Install qw(Install);
1516

@@ -205,6 +206,7 @@ sub tap_check
205206

206207
$ENV{TESTDIR} = "$dir";
207208

209+
rmtree('tmp_check');
208210
system(@args);
209211
my $status = $? >> 8;
210212
return $status;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy