svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/ Runner.php

From: Date: Thu, 22 Jul 2010 14:41:13 +0000
Subject: svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/ Runner.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9598@lists.php.net to get a copy of this message
saltybeagle Thu, 22 Jul 2010 14:41:13 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301471 Log: Bug #17616 Pyrus: Runphpt cannot run if there is no php_bin. Bug: http://pear.php.net/bugs/17616 (unknown) Changed paths: U pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php Modified: pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php =================================================================== --- pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php 2010-07-22 14:23:50 UTC (rev 301470) +++ pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php 2010-07-22 14:41:13 UTC (rev 301471) @@ -220,6 +220,10 @@ function runTests($tests) { + if (empty($this->_php)) { + echo "Unable to run phpt no php_bin option found. (pyrus set php_bin <directory>)\n"; + return false; + } if (!count($tests)) { $tests = array('.'); }

« previous php.pear.core (#9598) next »