blob: fa49ee72ff5c17aea3cfdf0220498ca5c8bb6034 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/perl -w
my $file = __FILE__;
open my $fh, '<', $file or die "Can't open $file: $!";
<$fh>;
(my $test_file = $file) =~ s/-open-line//;
unless (my $return = do "./$test_file") {
warn "couldn't parse $test_file: $@" if $@;
warn "couldn't do $test_file: $!" unless defined $return;
warn "couldn't run $test_file" unless $return;
}
|