Package: phpunit2
Version: 2.3.6-1
Severity: normal

I can't run my testsuite in terminal without php5-cli installed.
If you can change also values @package_version@ in Runner/Version.php and
@php_bin@ in pear-phpunit explained here:
http://www.phpunit.de/pocket_guide/2.3/en/installation.html

thanks,


[EMAIL PROTECTED]:~/workspace/oshosting$ php test/AllTests.php

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in 
/home/thierry/workspace/oshosting/test/AllTests.php on line 15
[EMAIL PROTECTED]:~/workspace/oshosting$ sudo apt-get install php5-cli
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  php5-cli
0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
Need to get 0B/2328kB of archives.
After unpacking 5116kB of additional disk space will be used.
Selecting previously deselected package php5-cli.
(Reading database ... 182621 files and directories currently installed.)
Unpacking php5-cli (from .../php5-cli_5.1.6-1_i386.deb) ...
Setting up php5-cli (5.1.6-1) ...

[EMAIL PROTECTED]:~/workspace/oshosting$ php test/AllTests.php
PHP Warning:  Xdebug MUST be loaded as a Zend extension in Unknown on line 0
PHPUnit @package_version@ by Sebastian Bergmann.

....I..I.

Time: 0.244321
There were 2 incomplete test cases:
1) testOshMysqlTransactionQuery(DbTest)

/home/thierry/workspace/oshosting/test/AllTests.php:16
/home/thierry/workspace/oshosting/test/AllTests.php:31
2) testOshDisplayNews(GeneralTest)

/home/thierry/workspace/oshosting/test/AllTests.php:16
/home/thierry/workspace/oshosting/test/AllTests.php:31

OK, but incomplete test cases!!!
Tests run: 9, Incomplete Tests: 2.
[EMAIL PROTECTED]:~/workspace/oshosting$



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-vserver-686
Locale: LANG=mg_MG.UTF-8, LC_CTYPE=mg_MG.UTF-8 (charmap=UTF-8)

Versions of packages phpunit2 depends on:
ii  php5                          5.1.6-1    server-side, HTML-embedded scripti

phpunit2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to