diff options
Diffstat (limited to 'perl_checker.src/test')
-rwxr-xr-x | perl_checker.src/test/test_it | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/test/test_it b/perl_checker.src/test/test_it index 06ab059..609cc6d 100755 --- a/perl_checker.src/test/test_it +++ b/perl_checker.src/test/test_it @@ -76,7 +76,7 @@ foreach my $test (@tests) { @l = ($header, @l); } output('.pl', @l); - my @log = grep { !/^File .*, line / } `perl_checker .pl`; + my @log = grep { !/^File .*, line / } `../perl_checker .pl`; die "@log in .pl ($file):\n" . join('', @{$test->{lines}}) if any { /^syntax error$/ } @log; foreach my $i (0 .. max(int @{$test->{lines}}, int @log) - 1) { my $s = $test->{lines}[$i]; |