Re: PHPT --SKIPIF--

From: Date: Thu, 05 Apr 2007 22:45:49 +0000
Subject: Re: PHPT --SKIPIF--
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-46153@lists.php.net to get a copy of this message
Joe Stump wrote: > Can you tell a test to skip if a previous test failed? Hrm. I guess if > (file_exists('previoustest.out')) returns true? Thoughts? Seems hacky ... Hi Joe, Short answer: no Long answer: Perhaps a bit more information on the problem you're trying to solve would help? You could, theoretically, include the relevant portion of the test in your --SKIPIF-- and use that to determine whether to echo "skip" but if your failure is fatal error-related, that gets tricky, to say the least :) Greg

« previous php.pear.dev (#46153) next »