Skip to content

Instantly share code, notes, and snippets.

@sshaw
Created January 16, 2012 20:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sshaw/1622783 to your computer and use it in GitHub Desktop.
Save sshaw/1622783 to your computer and use it in GitHub Desktop.
Use test libs without all the `use lib` calls
# 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