Add zsh syntax check to test.t

This commit is contained in:
András Korn 2015-09-26 17:25:54 +02:00
parent c9e77c391a
commit a6ea4c428c
1 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,14 @@ sub process_file {
}
);
}
elsif ( $interpreter =~ m{/bin/zsh} ) {
run_check(
{ command => [ 'zsh', '-n', $file ],
description => 'zsh syntax check',
filename => $filename
}
);
}
elsif ( $interpreter =~ m{perl} ) {
my $command;
if ( $arguments =~ m{-.*T}mx ) {