Skip to content

Commit b9b1e3f

Browse files
committed
Revert "Support preprocessing of atx tests under windows"
Remove preprocessing of atx tests, because they no more need it This reverts commit e4bb915.
1 parent 7a4a333 commit b9b1e3f

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/tools/msvc/Mkvcbuild.pm

100755100644
Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,6 @@ sub mkvcbuild
514514
if (!(defined($pyprefix) && defined($pyver)));
515515

516516
my $pymajorver = substr($pyver, 0, 1);
517-
ProcessTestSubstitutions("python_majorversion",$pymajorver,
518-
"src/test/regress/sql/atx.sql",
519-
"src/test/regress/expected/atx.out");
520517
my $plpython = $solution->AddProject('plpython' . $pymajorver,
521518
'dll', 'PLs', 'src/pl/plpython');
522519
$plpython->AddIncludeDir($pyprefix . '/include');
@@ -986,20 +983,4 @@ sub AdjustModule
986983
}
987984
}
988985

989-
sub ProcessTestSubstitutions {
990-
my $varname = shift;
991-
my $varvalue = shift;
992-
for my $file (@_) {
993-
open IN,"<","${file}.in" or die "${file}.in not found";
994-
open OUT,">",$file;
995-
while (<IN>) {
996-
s/\@$varname\@/$varvalue/g;
997-
print OUT $_;
998-
}
999-
close IN;
1000-
close OUT;
1001-
}
1002-
}
1003-
1004-
1005986
1;

0 commit comments

Comments
 (0)