You probably need to throw away your "drastic fix" and just place files in "t" directory and probably "test.pl" script as "perldoc ExtUtils::MakeMaker" says:
Those files in "t" directory should just use your module and check for corectness of output...... make test MakeMaker checks for the existence of a file named test.pl in the current directory and if it exists it execute the script with the +proper set of perl "-I" options. MakeMaker also checks for any files matching glob("t/*.t"). It wil +l execute all matching files in alphabetical order via the Test::Har +ness module with the "-I" switches set correctly. If you'd like to see the raw output of your tests, set the "TEST_VERBOSE" variable to true. make test TEST_VERBOSE=1 ......
Also look at any CPAN module to see how they do this.
Courage, the Cowardly Dog
In reply to Re: MakeMaker for testing only
by Courage
in thread MakeMaker for testing only
by tall_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |