esharris has asked for the wisdom of the Perl Monks concerning the following question:
Suppose I am making a new perl module. I edit the ".t" file and do a "make test". (This tests the local modified version of the module, not the current version in the library.) Unfortunately, the test script crashes badly.
Is there a way to invoke the Perl debugger during a "make test" session?
If I do "perl -d t/*.t", I am running the test script using the current module in my library, not the local version I am modifying.
I could actually install the modified version and do a "perl -d /*.t", but that defeats the purpose of having a local environment to play with active modules. Furthermore, I'm replacing a working module with a non-working module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Debugging during make test
by perrin (Chancellor) on Dec 09, 2005 at 19:37 UTC | |
|
Re: Debugging during make test
by xdg (Monsignor) on Dec 09, 2005 at 19:19 UTC | |
|
Re: Debugging during make test
by BUU (Prior) on Dec 09, 2005 at 19:19 UTC |