Re: How to process a Build-Pre-req as a prereq and not a FAIL?

2016-03-04 Thread Serguei Trouchelle
L Walsh wrote: I tried checking for the OS and BAILING out before running the test, but BAIL OUT just causes a fail. Isn't BAILOUT the supported way to abort due to a due to missing pre-reqs or is there another function I should be using? You should "plan skip_all => 'OS not supported';" --

Re: How to process a Build-Pre-req as a prereq and not a FAIL?

2016-03-04 Thread Aristotle Pagaltzis
* L Walsh [2016-03-04 23:40]: > I tried checking for the OS and BAILING out before running the test, > but BAIL OUT just causes a fail. That’s as it’s supposed to be. Normally, when you run a module’s tests, all test programs are run, and all tests within each are run. BAIL_OUT is just a way to

How to process a Build-Pre-req as a prereq and not a FAIL?

2016-03-04 Thread L Walsh
I'm trying to specify a pre-req to not get superfluous errors in my tests -- specifically, I need to have the "Windows" OS module be >= 6.0.0. I.e. some tests involving / testing for proper output on STDERR don't work on WinXP -- and since it is no longer a supported OS, I want to weed out fail