Author: FrankStelzer
Date: 2010-09-12 18:52:54 +0200 (Sun, 12 Sep 2010)
New Revision: 30890

Modified:
   plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitBaseTask.class.php
   plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitTestAllTask.class.php
   plugins/sfPHPUnit2Plugin/trunk/package.xml
Log:
[sfPHPUnit2Plugin] added return values of the PHPUnit command line executions

Modified: plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitBaseTask.class.php
===================================================================
--- plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitBaseTask.class.php 
2010-09-12 12:47:39 UTC (rev 30889)
+++ plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitBaseTask.class.php 
2010-09-12 16:52:54 UTC (rev 30890)
@@ -88,6 +88,10 @@
 
     // $this->logSection('debug', $cmd);
 
-    passthru($cmd);
+    $output = '';
+
+    passthru($cmd, $output);
+
+    return $output;
   }
 }

Modified: plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitTestAllTask.class.php
===================================================================
--- plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitTestAllTask.class.php      
2010-09-12 12:47:39 UTC (rev 30889)
+++ plugins/sfPHPUnit2Plugin/trunk/lib/task/sfPHPUnitTestAllTask.class.php      
2010-09-12 16:52:54 UTC (rev 30890)
@@ -53,6 +53,10 @@
   {
     $cmd = 'phpunit '.$options['options'].($options['configuration']? '' : ' 
test/phpunit/');
 
-    passthru($cmd);
+    $output = '';
+
+    passthru($cmd, $output);
+
+    return $output;
   }
 }

Modified: plugins/sfPHPUnit2Plugin/trunk/package.xml
===================================================================
--- plugins/sfPHPUnit2Plugin/trunk/package.xml  2010-09-12 12:47:39 UTC (rev 
30889)
+++ plugins/sfPHPUnit2Plugin/trunk/package.xml  2010-09-12 16:52:54 UTC (rev 
30890)
@@ -101,6 +101,24 @@
 
                <release>
                        <version>
+                               <release>0.9.1</release>
+                               <api>0.9.1</api>
+                       </version>
+                       <stability>
+                               <release>beta</release>
+                               <api>beta</api>
+                       </stability>
+                       <license 
uri="http://www.symfony-project.com/license";>MIT license</license>
+                       <date>2010-06-09</date>
+                       <license>MIT</license>
+                       <notes>
+                               * added best practise hint for 
phpunit.xml(.dist) (thanks to Christian Schaefer, 
http://test.ical.ly/2010/08/24/best-practice-how-to-ship-phpunit-configuration/ 
)
+                               * added return value of the PHPUnit command 
line executions (thanks to Brent Shaffer)
+                       </notes>
+               </release>
+               
+               <release>
+                       <version>
                                <release>0.9.0</release>
                                <api>0.9.0</api>
                        </version>

-- 
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