Author: maksim_ka
Date: 2010-02-05 18:24:58 +0100 (Fri, 05 Feb 2010)
New Revision: 27602

Modified:
   plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitRuntestTask.class.php
Log:
[sfPhpunitPlugin][sf1.2] fix error in runtest task. There was error with 
starting phpunit:init task.

   [pakeException]                      
  Task "phpunit:init" is not defined.  


Modified: 
plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitRuntestTask.class.php
===================================================================
--- 
plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitRuntestTask.class.php    
    2010-02-05 17:16:41 UTC (rev 27601)
+++ 
plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitRuntestTask.class.php    
    2010-02-05 17:24:58 UTC (rev 27602)
@@ -49,7 +49,7 @@
 //    $initTask = new sfPhpunitInitTask($this->dispatcher, $this->formatter);
 //    $initTask->run();
     chdir(sfConfig::get('sf_root_dir'));
-    shell_exec('symfony phpunit:init');
+    $this->log(system(ProjectConfiguration::guessRootDir().'/symfony 
phpunit:init'));
        
        $path = $arguments['test'];
 

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to