Re: Aborting testsuits
On Monday, February 23, 2004, at 02:40 PM, Thomas Klausner wrote: [snip] Is there a way to abort a whole testsuite? [snip] Yup. Take a look at BAILOUT in Test::Builder. Doing: Test::More-builder-BAILOUT should stop Test::Harness in its tracks. Adrian
Re: Aborting testsuits
Hi! On Mon, Feb 23, 2004 at 05:01:54PM +, Adrian Howard wrote: On Monday, February 23, 2004, at 02:40 PM, Thomas Klausner wrote: [snip] Is there a way to abort a whole testsuite? [snip] Yup. Take a look at BAILOUT in Test::Builder. Doing: Test::More-builder-BAILOUT should stop Test::Harness in its tracks. Thanks, this is working. Is there any reason why BAIL_OUT is marked as unimplemented in the Test::More docs? -- #!/usr/bin/perl http://domm.zsi.at for(ref bless{},just'another'perl'hacker){s-:+-$-gprint$_.$/}
Re: Aborting testsuits
No idea :-) Mr Schwern? Adrian On Monday, February 23, 2004, at 07:04 PM, Thomas Klausner wrote: Hi! On Mon, Feb 23, 2004 at 05:01:54PM +, Adrian Howard wrote: On Monday, February 23, 2004, at 02:40 PM, Thomas Klausner wrote: [snip] Is there a way to abort a whole testsuite? [snip] Yup. Take a look at BAILOUT in Test::Builder. Doing: Test::More-builder-BAILOUT should stop Test::Harness in its tracks. Thanks, this is working. Is there any reason why BAIL_OUT is marked as unimplemented in the Test::More docs? -- #!/usr/bin/perl http://domm.zsi.at for(ref bless{},just'another'perl'hacker){s-:+-$-gprint$_.$/}
Re: Aborting testsuits
On Feb 23, 2004, at 6:40 AM, Thomas Klausner wrote: Is there a way to abort a whole testsuite? I use control-c. David
Re: Aborting testsuits
Because it is, in Test::More. I've yet to need it. Nobody's given me a patch to implement it. And T::H doesn't recognize anything like that either? -- Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance
Re: Aborting testsuits
On Monday, February 23, 2004, at 10:46 PM, Andy Lester wrote: Because it is, in Test::More. I've yet to need it. Nobody's given me a patch to implement it. And T::H doesn't recognize anything like that either? From perldoc test::Harness =item BBail out! As an emergency measure, a test script can decide that further tests are useless (e.g. missing dependencies) and testing should stop immediately. In that case the test script prints the magic words Bail out! to standard output. Any message after these words will be displayed by CTest::Harness as the reason why testing is stopped. :-) Adrian