evalEmpire / Mite

Mite - A zero dependency, fast loading, Moose-like Perl module
Other
3 stars 1 forks source link

Make the MM and MB tests use the installing perl #32

Closed schwern closed 10 years ago

schwern commented 10 years ago

Right now the t/MakeMaker and t/Module-Build tests call mite. They correctly call bin/mite but they call it as a command with #!perl which will use the first perl in PATH and not the Perl being used to install stuff.

Fix that. Either by allowing the mite command to be overridden (maybe by an environment variable) or by manipulating PATH. The former is probably preferred as messing with PATH might have odd side effects.