Re: [PATCH] enable plugin syntax checks for developers

[email protected] (Robert Spier)
Newsgroups perl.qpsmtpd
Message-ID <CAAroffdGUAY=oroPCjAKFVCn6WtqzaJwpZCKcV=+ZMF=Y0FQAg@mail.gmail.com>
Applied.

On Sun, May 6, 2012 at 11:17 AM, Matt Simerson <[email protected]> wrote:

>
> enable plugin syntax checks for developers
>
> ---
> t/01-syntax.t |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/t/01-syntax.t b/t/01-syntax.t
> index d7dafd1..5be4de7 100644
> --- a/t/01-syntax.t
> +++ b/t/01-syntax.t
> @@ -35,7 +35,7 @@ my @files = find( {wanted=>\&test_syntax, no_chdir=>1},
> 'plugins', 'lib' );
> sub test_syntax {
>  my $f = $File::Find::name;
>  chomp $f;
> -  return if $f =~ m{^plugins/};
> +  return if $f =~ m{^plugins/} && ! $ENV{QPSMTPD_DEVELOPER};
>  return if ! -f $f;
>  return if $skip_syntax{$f};
>  return if $f =~ m/(~|\.(bak|orig|rej))/;
> --
> 1.7.9.6
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.