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

ID: 17111
Updated by: ken@linux.ie
Reported By: daniel dot oconnor at gmail dot com
Summary: Tests should check environment, skip
-Status: Assigned
+Status: Closed
Type: Bug
Package: PEAR_Size
Package Version: CVS
PHP Version: 5.3.1
Assigned To: kguest
Roadmap Versions:
New Comment:

-Status: Assigned
+Status: Closed
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.

if @PACKAGE_VERSION@ isn't expanded then skip the testVersion test


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

[2010-06-06 15:46:44] doconnor

-Status: Closed
+Status: Open
:( http://test.pear.php.net/unit-test-results/phpunit_results.txt

Appears broken still?

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

[2010-03-11 01:10:04] kguest

-Status: Assigned
+Status: Closed
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.

fixed in subversion...

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

[2010-03-11 00:58:59] kguest

-Assigned To:
+Assigned To: kguest


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

[2010-02-16 11:43:05] doconnor

Description:
------------
http://test.pear.php.net/unit-test-results/phpunit_results.txt

The php installation is /usr/local/bin/php or something silly on this
test machine.

Consider !(is_executable && file_exists) {
markTestSkipped
}

Actual result:
--------------
php -c ../php.ini -f
/home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php
PHPUnit 3.4.10 by Sebastian Bergmann.

.SSSSSSSF

Time: 0 seconds, Memory: 10.75Mb

There was 1 failure:

1) PEAR_Size_Test_Bugs::testBug14474
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Channel "pear.example.com" does not exist
-
+sh: /usr/bin/php: No such file or directory

/home/clockwerx/packages-all/PEAR_Size/tests/PEAR_Size_TestSuite_Bugs.php:148
/home/clockwerx/packages-all/PEAR_Size/tests/PEAR_Size_TestSuite_Bugs.php:206
/home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php:19
/home/clockwerx/packages-all/PEAR_Size/tests/AllTests.php:34

FAILURES!
Tests: 9, Assertions: 2, Failures: 1, Skipped: 7.

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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 6, '10 at 2:53p
activeJun 18, '10 at 7:49p
posts2
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 1 post Ken: 1 post

People

Translate

site design / logo © 2022 Grokbase