Permalink
Browse files

print out phpunit loc

  • Loading branch information...
1 parent f42eb37 commit d8b127607efcf9e0fd703c75e20026ba86cb9040 @jlipps committed Sep 25, 2012
Showing with 7 additions and 2 deletions.
  1. +4 −1 README.md
  2. +3 −1 bin/paraunit
View
5 README.md
@@ -10,7 +10,10 @@ _tests must be logically independent!_
Usage
-----
-```php paraunit.php -p[PROCESSES] --PATH=TEST_PATH/TEST_GLOB```
+Install using composer. Then do this:
+
+```vendor/bin/paraunit -p[PROCESSES] --PATH=TEST_PATH/TEST_GLOB
+--PHPUNIT=PATH/TO/PHPUNIT```
Todo
----
View
4 bin/paraunit
@@ -190,7 +190,7 @@ $PHPUNIT = dirname(__FILE__).'/../../../bin/phpunit';
function main($argv)
{
global $PHPUNIT;
- $usage = "Usage: php paraunit.php -p[NUM_PROCESSES] --path=TEST_PATH/TEST_GLOB --phpunit=PATH/TO/PHPUNIT\n";
+ $usage = "Usage: paraunit -p[NUM_PROCESSES] --path=TEST_PATH/TEST_GLOB --phpunit=PATH/TO/PHPUNIT\n";
if (!isset($argv[1]) || !$argv[1])
die($usage);
@@ -211,6 +211,8 @@ function main($argv)
if ($PHPUNIT != 'phpunit' && !is_file($PHPUNIT))
die("Couldn't find phpunit at '$PHPUNIT'\n");
+ echo "Using phpunit at $PHPUNIT...\n";
+
//if ($opts['path'][0] != '/')
//$opts['path'] = getcwd().'/'.$opts['path'];

0 comments on commit d8b1276

Please sign in to comment.