Problem with pear run-tests for PHPUnit?

From: Date: Wed, 28 Nov 2007 22:10:03 +0000
Subject: Problem with pear run-tests for PHPUnit?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48620@lists.php.net to get a copy of this message
Hello all, I'm currently trying to get the pear run-tests command working for Net_FTP. I assume I should be able to run "pear run-tests -ur" from the pear/Net_FTP working directory. But it doesn't work, and after debugging I drilled it down to this: In PEAR/Command/Test.php the following command is used to find all AllTests.php files: System::find(array($p, '-type', 'f', '-maxdepth', $depth, '-name', 'AllTests.php')); However, the filename 'AllTests.php' is matched against the full path (on Windows and Linux) so no files ever match. For instance, '*AllTests.php' does return the files (but might return a file called 'FileContainingNotAtAllTests.php' as well). I don't know if this is a problem of System or PEAR_Command_Test. I could not find anything about this in the bug tracker and in CVS the bug seems to be present as well. regards, Jorrit Schippers

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