On 16 April 2010 02:05, Steve Bertrand <st...@ibctech.ca> wrote: > On 2010.04.15 18:50, Steve Bertrand wrote: >> Hi all, >> >> In one of my projects, I've written a test file t/22-upgrade.t. > > [..snip..] > >> However, when I run "make test", the Perl code for print does not execute. > > Replying my own post, this project is currently only used by us internally. > > What I've done to 'rectify' the issue so that it is clear that the > config files differ, is rename the test to the highest test number > (999-upgrade.t) so it will run last, and we will run "make test" with > the TEST_VERBOSE=1 flag. > > So instead of this: > > acct-dev: ISP % sudo make test
no need for sudo here. You only need it for "make install" (and not even then if you're using local::lib). > .... I'm still reading through the docs, but if someone has any quick > advice on how to make this more granular so I don't have to be extremely > verbose on all tests, that'd be great. I'm not entirely sure what you're asking, but if you *only* want to run your new test and you want to get verbose output from it, try: perl Makefile.PL make prove -bv t/22-upgrade.t "prove" is a utility which comes with Test::Harness, which makes running tests under harness from the command line relatively simple. See http://search.cpan.org/perldoc?prove -b adds blib/lib/ to @INC so the tests can find the module you're testing (you can use -l instead to use lib/) -v produces verbose output Phil -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/