8000 attempt to make this thing work on windows · Giperboloid/postgres@b91a97a · GitHub
[go: up one dir, main page]

Skip to content

Commit b91a97a

Browse files
committed
attempt to make this thing work on windows
1 parent ca2d819 commit b91a97a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,20 @@ sub ecpgcheck
178178
sub isolationcheck
179179
{
180180
chdir "../isolation";
181+
rmtree "testtablespace";
9263 182+
mkdir "testtablespace";
183+
my $abs_testtablespace = abs_path "testtablespace";
184+
my @generated_specs = ("drop-tablespace.spec");
185+
foreach(@generated_specs) {
186+
my $spec = $_;
187+
open(IN, '<specs/'.$spec.'.template') or die $!;
188+
open(OUT, '>specs/'.$spec.'.template') or die $!;
189+
while (<IN>) {
190+
s|\@testtablespace\@|$abs_testtablespace|
191+
}
192+
close(OUT);
193+
close(IN);
194+
}
181195
copy("../../../$Config/isolationtester/isolationtester.exe",
182196
"../../../$Config/pg_isolation_regress");
183197
my @args = (

0 commit comments

Comments
 (0)
0