Greetings:
I'm using run-tests.php under PHP 4.3.4 to test out stuff for PEAR::DB.
Unfortunately, all the tests fail due to the HTTP headers getting inserted
at the top of each file.
run-tests.php and the tests directory are pulled from PHP 4 source a few
minutes ago.
Here's the commands I used, using a Cygwin shell on Windows 2000.
TEST_PHP_EXECUTABLE=c:/progra~1/php/php.exe
php c:/progra~1/php/run-tests.php
d:/webroot/ideasphp/pear/dbtests/driver/.
I also tried using "php -q ..." as well as the CLI version of PHP to no
avail.
My final attempt to hack this was to change line 614 of run-tests.php from
$output = $extra $php $info_params -f $tmp_skipif
;
to
$output = $extra $php -q $info_params -f $tmp_skipif
;
Any suggestions, please?
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
Hi:
As some folks suggested off list, setting TEST_PHP_EXECUTABLE to the CLI
helped. I had already tried it, but that was only part of the probem.
Here are the other pieces.
I had to be logged on as a user with administrative priveleges because the
php executable dir and the files in it aren't writable by regular users.
Also, it was necessary to use complete paths for everything.
Thanks!
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409