in reply to Re: MakeMaker nsFAQs
in thread MakeMaker nsFAQs
Creating a MY::postamble that returns a string will append that string to the Makefile. So, by copying the syntax for the existing test target, but altering the directory, I am able to add a new testmore target to the Makefile.sub MY::postamble { return <<'MAKE_FRAG'; testmore :: pure_all PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "t +est_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" t/mor +e/*.t MAKE_FRAG }
I'm still working on interaction before installing though. One Idea I've just had is to create a t/zzz_post_make_config.t that would prompt the user after testing. Of course I'd have to be careful about output so as not to trigger as a failed test.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: MakeMaker nsFAQs
by Anonymous Monk on Aug 18, 2004 at 06:23 UTC | |
by BigLug (Chaplain) on Aug 18, 2004 at 07:11 UTC | |
by eserte (Deacon) on Aug 18, 2004 at 09:23 UTC |