FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17080&edit=1

ID: 17080
Updated by: till@php.net
Reported By: daniel dot oconnor at gmail dot com
Summary: Avoid setting include path in unit tests
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: File_IMC
Package Version: CVS
PHP Version: 5.2.5
-Assigned To:
+Assigned To: till
-Roadmap Versions:
+Roadmap Versions: 0.4.1
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: till
-Roadmap Versions:
+Roadmap Versions: 0.4.1
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Check r300777, please.

I migrated the set_include_path to AllTests and I'm only doing it when
run from
SVN. I hope no objections there.


Previous Comments:
------------------------------------------------------------------------

[2010-02-10 01:44:12] doconnor

If you aggregate all of the AllTests together, and one randomly changes
the include_path on you and the rest don't ... :(

------------------------------------------------------------------------

[2010-02-09 11:31:44] till

Why not fix the path seperator then?

------------------------------------------------------------------------

[2010-02-09 02:09:18] doconnor

Added #patch bug:17080;patch:includepath;revision:1265681358;.

------------------------------------------------------------------------

[2010-02-09 02:08:50] doconnor

Description:
------------
php tests\AllTests.php

doesn't work so well because of the incorrect manipulation of the
include path (path seperator is wrong for windows, ok for linux)

Consider just relying on running the tests from 1x level up; and
removing the include_path modification.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 27, '10 at 5:21p
activeJun 27, '10 at 5:21p
posts1
users1
websitepear.php.net

1 user in discussion

Till: 1 post

People

Translate

site design / logo © 2022 Grokbase