perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: [patch] make test runs test on included modules
Date Wed, 23 Jun 2010 19:08:51 GMT
I just committed this patch r957309.  I opted for this version rather
than the perl generated targets in this thread only because this one
fits in snugly with the existing style.

I poked this several different ways to make sure it is doing
everything from running the tests to installing the modules and was
not able to find any errors.  However, please svn up and run the test
suite to cross verify.

On Tue, Jun 15, 2010 at 12:08 PM, Philippe M. Chiasson <gozer@apache.org> wrote:
> On 10-06-14 22:47 , Philip M. Gollucci wrote:
> How about this cute trick using make -k ? Quick testing seems to
> indicate it ends up doing the right thing for me.
>
> Index: Makefile.PL
> ===================================================================
> --- Makefile.PL (revision 934250)
> +++ Makefile.PL (working copy)
> @@ -785,8 +785,17 @@
>        $(PASSENV) \
>        $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
>        t/TEST -bugreport -verbose=$(TEST_VERBOSE) $(TEST_FILES)
> -       cd ModPerl-Registry && $(MAKE) test
> +       $(MAKE) -k run_subtests
>
> +run_subtests ::
> +       $(MAKE) -C ModPerl-Registry test
> +
> +run_subtests ::
> +       $(MAKE) -C Apache-Reload test
> +
> +run_subtests ::
> +       $(MAKE) -C Apache-SizeLimit test
> +
>  test :: pure_all run_tests test_clean
>  EOF

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message