Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

EU::MM: Set env. variable for "make test" ?

by renodino (Curate)
on Jun 22, 2008 at 14:53 UTC ( #693371=perlquestion: print w/replies, xml ) Need Help??
renodino has asked for the wisdom of the Perl Monks concerning the following question:

I'm seeking a way to specify an environment variable to automagically get defined for the "make test" process.

FYI: I'm using Perl solely to test some C/C++ packages, which need to do their own thing wrt signals. So I want to set PERL_SIGNALS=unsafe. Ideally that could be defined by the test harness before it forks off the test processes.

Is there an EU::MM parameter to do that ? If not, perhaps one of the alternate builders (Module::Build) can ?

Perl Contrarian & SQL fanboy
  • Comment on EU::MM: Set env. variable for "make test" ?

Replies are listed 'Best First'.
Re: EU::MM: Set env. variable for "make test" ?
by pc88mxer (Vicar) on Jun 22, 2008 at 15:25 UTC
    Look at what Test::Manifest does to alter how tests are run. You can change what gets generated in the Makefile for the test target by overriding MY::test_via_harness().

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://693371]
Approved by pc88mxer
[LanX]: But cygwin comes with path problems and powershell requires too much learning for me
[LanX]: eshell in emacs is often my resort in development
[LanX]: Thx found a solution! :)
[Eily]: I wrote "your" instead of "you're" :'(
[Eily]: I guess it means that my English is good enough that I make the same mistakes as native speakers though :/
[LanX]: your native tounge is French .... or Quebequois?
[erix]: never mind the natives
[Eily]: French, why?
LanX ' solution

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-03-27 16:04 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.