testfest helped me a lot
Sitting here at our office. today we have 2 main events:
webtuesday and phptestfest

on thing I learned today:
For my a self compiled php I had to turn off all php.ini's also the php.d directory ( mv php.d php.d.old did that in /usr/local/php5.lcl)
now I get:
Then do:
webtuesday and phptestfest

on thing I learned today:
For my a self compiled php I had to turn off all php.ini's also the php.d directory ( mv php.d php.d.old did that in /usr/local/php5.lcl)
now I get:
=====================================================================to run a single test switch to the source directory of php ( in my case /Users/pjezek/php5osx/php-5.2.6 ).
PHP : /usr/local/php5.lcl/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.2.6
ZEND_VERSION: 2.2.0
PHP_OS : Darwin - Darwin pea-mbr.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
INI actual : /Users/pjezek/php5osx/php-5.2.6
More .INIs :
CWD : /Users/pjezek/php5osx/php-5.2.6
Extra dirs :
=====================================================================
Running selected tests.
FAIL tidy_diagnose() [ext/tidy/tests/004.phpt]
=====================================================================
Number of tests : 1 1
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 (100.0%) (100.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 0 seconds
=====================================================================
Then do:
export TEST_PHP_EXECUTABLE=/usr/local/php5.lcl/bin/php
php run-tests.php ext/tidy/tests/TESTFILE.phpt


