Bug #18962 [Opn->Csd]: Tests fail on CI server
| From: | daniel dot oconnor at gmail dot com | Date: | Sun, 08 Apr 2012 13:04:19 +0000 |
| Subject: | Bug #18962 [Opn->Csd]: Tests fail on CI server | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8538@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=18962&edit=1
ID: 18962
Updated by: daniel.oconnor@gmail.com
Reported By: daniel dot oconnor at gmail dot com
Summary: Tests fail on CI server
-Status: Open
+Status: Closed
Type: Bug
Package: Services_Hatena
Package Version: SVN
PHP Version: 5.3.1
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
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.
Previous Comments:
------------------------------------------------------------------------
[2011-11-06 11:37:22] doconnor
Description:
------------
Because of the dir structure of this package; the tests won't work
without installing the package.
A simple
svn mkdir Services
svn mv Hatena Services
svn mv Hatena.php Services
and regenerating the package.xml should fix it
Test script:
---------------
http://test.pear.php.net:8080/job/Services_Hatena/lastCompletedBuild/testReport/
Expected result:
----------------
Tests pass
Actual result:
--------------
var/lib/jenkins/workspace/Services_Hatena/tests/Asin.phpt
--- Expected
+++ Actual
@@ @@
-\d+
+Warning: require_once(Services/Hatena.php): failed to open
stream: No such file or directory in
/var/lib/jenkins/workspace/Services_Hatena/tests/Asin.php on
line 3
+
+Fatal error: require_once(): Failed opening required
'Services/Hatena.php'
(include_path='.:/usr/local/lib/php/pear') in
/var/lib/jenkins/workspace/Services_Hatena/tests/Asin.php on
line 3
--- Expected
+++ Actual
@@ @@
-\d+
+Warning: require_once(Services/Hatena.php): failed to open
stream: No such file or directory in
/var/lib/jenkins/workspace/Services_Hatena/tests/Asin.php on
line 3
+
+Fatal error: require_once(): Failed opening required
'Services/Hatena.php'
(include_path='.:/usr/local/lib/php/pear') in
/var/lib/jenkins/workspace/Services_Hatena/tests/Asin.php on
line 3
/usr/local/bin/phpunit:46
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=18962&edit=1