Re: Setting an environment variable for tests

2010-12-17 Thread Andrew Savige
shell (bash is Korn-shell derived). Of course this is Unix-shell specific and may not work on non-Unix platforms. HTH, /-\ - Original Message From: Marc Mims m...@questright.com To: module-authors@perl.org Sent: Thu, 16 December, 2010 12:16:14 PM Subject: Setting an environment

Re: Setting an environment variable for tests

2010-12-17 Thread Bill Ward
, /-\ - Original Message From: Marc Mims m...@questright.com To: module-authors@perl.org Sent: Thu, 16 December, 2010 12:16:14 PM Subject: Setting an environment variable for tests I recently released a new version of Math::Round::Fair. Anders Johnson provided several in situ tests

Re: Setting an environment variable for tests

2010-12-16 Thread Loren M. Lang
On 12/15/2010 5:31 PM, Matthew Musgrove wrote: Marc, I'm far from the Makefile expert but shouldn't the line that gets to the Makefile look like one of these? export MATH_ROUND_FAIR_DEBUG := 1 or: MATH_ROUND_FAIR_DEBUG := 1 Using := over = doesn't really matter in this context,

Setting an environment variable for tests

2010-12-15 Thread Marc Mims
I recently released a new version of Math::Round::Fair. Anders Johnson provided several in situ tests that we optimized out at compile time using Devel::Assert. They can be turned on by setting an environment variable: MATH_ROUND_FAIR_DEBUG=1 I wanted the assertions enabled when make

Re: Setting an environment variable for tests

2010-12-15 Thread Matthew Musgrove
Marc, I'm far from the Makefile expert but shouldn't the line that gets to the Makefile look like one of these? export MATH_ROUND_FAIR_DEBUG := 1 or: MATH_ROUND_FAIR_DEBUG := 1 If so, just wrapper that in a preamble call and it should be good to go. Matt On Wed, Dec 15, 2010 at 7:16

Re: Setting an environment variable for tests

2010-12-15 Thread Marc Mims
* Matthew Musgrove mr.musk...@gmail.com [101215 17:31]: Marc, I'm far from the Makefile expert but shouldn't the line that gets to the Makefile look like one of these? export MATH_ROUND_FAIR_DEBUG := 1 or: MATH_ROUND_FAIR_DEBUG := 1 If so, just wrapper that in a preamble call and