svn: /pear/packages/ tests.php

From: Date: Mon, 08 Feb 2010 15:13:26 +0000
Subject: svn: /pear/packages/ tests.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-58620@lists.php.net to get a copy of this message
clockwerx Mon, 08 Feb 2010 15:13:26 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294767 Log: Rendering of test results Changed paths: U pear/packages/tests.php Modified: pear/packages/tests.php =================================================================== --- pear/packages/tests.php 2010-02-08 15:00:00 UTC (rev 294766) +++ pear/packages/tests.php 2010-02-08 15:13:26 UTC (rev 294767) @@ -33,7 +33,9 @@ $test_dir = $path . '/tests/AllTests.php'; if (file_exists($test_dir)) { - $cmd = 'cd ' . $path . ' && php ' . $test_dir . ' >> ' . $output_path; + $cmd = 'cd ' . $path; + $cmd .= ' && echo "php '. $test_dir . '" >> ' . $output_path; + $cmd .= ' && php ' . $test_dir . ' >> ' . $output_path; exec($cmd); } } @@ -42,7 +44,9 @@ $test_dir = $path . '/tests/'; if (file_exists($test_dir)) { - $cmd = 'cd ' . $path . ' && pear run-tests -r ' . $test_dir . ' >> ' . $output_path; + $cmd = 'cd ' . $path; + $cmd .= ' && echo "pear run-tests -r ' . $test_dir . '" >> ' . $output_path; + $cmd .= ' && pear run-tests -r ' . $test_dir . ' >> ' . $output_path; exec($cmd); } }

« previous php.pear.cvs (#58620) next »