Re: CGI tests

From: Date: Sun, 19 Jul 2009 21:15:51 +0000
Subject: Re: CGI tests
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-65228@lists.php.net to get a copy of this message
If run-tests.php detects that the test requires the CGI sapi (which it does by checking for the presence of GET, POST etc sections), then it will try and use the CGI executable to run the SKIPIF section, if there isn't a php-cgi available it won't be able to :-) So the check would never be executed.
But if I run it directly using php-cli then it will bail out and I see right away why..
You shouldn't be running tests by hand anyway.. You loose the INI data, POST, etc.. So if you run them by hand you should know what you're doing. I just don't want to advocate to add this check to every single test. Nuno

« previous php.qa (#65228) next »