Re: PEAR_Info unit tests crash

From: Date: Fri, 06 Jul 2007 21:35:46 +0000
Subject: Re: PEAR_Info unit tests crash
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47249@lists.php.net to get a copy of this message
Christian, Of course unit tests crashed because it used my pear.ini config file that applied my local windows platform. If you can give me a .pearrc or pear.conf (*nix) related to pear install in CVS host, I think all will work fine.
Laurent, The unit tests crash: Fatal error: Call to a member function packageInfo() on a non-object in /data/cvs/pear/PEAR_Info/Info.php on line 261 Call Stack:
    0,0085     139760   1. {main}() /data/cvs/pear/AllTests.php:0
    0,6596    3554104   2. PEAR_AllTests::main() /data/cvs/pear/AllTests.php:231
    3,2129   12540444   3. PHPUnit_TextUI_TestRunner::run() /data/cvs/pear/AllTests.php:89
    3,2129   12540564   4. PHPUnit_TextUI_TestRunner->doRun() /usr/lib/php5/share/pear/PHPUnit/TextUI/TestRunner.php:124
    3,2138   12542496   5. PHPUnit_Framework_TestSuite->run() /usr/lib/php5/share/pear/PHPUnit/TextUI/TestRunner.php:287
    6,8804   14750028   6. PHPUnit_Framework_TestSuite->run() /usr/lib/php5/share/pear/PHPUnit/Framework/TestSuite.php:500
    7,2043   16841536   7. PHPUnit_Framework_TestSuite->run() /usr/lib/php5/share/pear/PHPUnit/Framework/TestSuite.php:500
    7,2116   16897344   8. PHPUnit_Framework_TestSuite->runTest() /usr/lib/php5/share/pear/PHPUnit/Framework/TestSuite.php:517
    7,2116   16897344   9. PHPUnit_Framework_TestCase->run() /usr/lib/php5/share/pear/PHPUnit/Framework/TestSuite.php:537
    7,2116   16897344  10. PHPUnit_Framework_TestResult->run() /usr/lib/php5/share/pear/PHPUnit/Framework/TestCase.php:277
    7,2118   16897416  11. PHPUnit_Framework_TestCase->runBare() /usr/lib/php5/share/pear/PHPUnit/Framework/TestResult.php:548
    7,2158   16898144  12. PHPUnit_Framework_TestCase->runTest() /usr/lib/php5/share/pear/PHPUnit/Framework/TestCase.php:299
    7,2159   16898220  13. ReflectionMethod->invoke() /usr/lib/php5/share/pear/PHPUnit/Framework/TestCase.php:365
    7,2159   16898316  14. PEAR_Info_TestCase_CustomConfig->testConfigFilesExistWithCustomNameInPearDir() /data/cvs/pear/PEAR_Info/tests/PEAR_Info_TestCase_CustomConfig.php:0
    7,2159   16898500  15. PEAR_Info->__construct() /data/cvs/pear/PEAR_Info/tests/PEAR_Info_TestCase_CustomConfig.php:112


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