Created
January 16, 2012 20:23
-
-
Save sshaw/1622783 to your computer and use it in GitHub Desktop.
Use test libs without all the `use lib` calls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Include test helpers and/or libs | |
sub MY::test | |
{ | |
package MY; | |
my $make = shift->SUPER::test(@_); | |
$make .= 'FULLPERLRUN = $(FULLPERL) -I t -I t/lib'; | |
return $make; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment