diff --git a/src/tools/makeTestfile.pl b/src/tools/makeTestfile.pl index 4ac5162db..be4648258 100644 --- a/src/tools/makeTestfile.pl +++ b/src/tools/makeTestfile.pl @@ -23,10 +23,6 @@ use strict; my ($target, $exe) = @ARGV; -# Use system on Windows, exec doesn't work the same there and -# GNUmake thinks the test has finished as soon as Perl exits. -my $exec = $^O eq 'MSWin32' ? "system('./$exe') == 0" : "exec './$exe'"; - open(my $OUT, '>', $target) or die "Can't create $target: $!\n"; print $OUT <