Added debug output
authorJohn P Kirk <john@civifirst.com>
Mon, 11 May 2015 22:47:40 +0000 (23:47 +0100)
committerJohn P Kirk <john@civifirst.com>
Mon, 11 May 2015 22:47:40 +0000 (23:47 +0100)
This helped me identify a problem I had in getting unit tests working, thought I'd share.

tools/scripts/phpunit

index 827cd944841c3d7a41e217cf3778062e0831b233..4c95b1475b28eb54958bdb0a5c87b5c9fa6d1b27 100755 (executable)
@@ -48,7 +48,7 @@ ini_set('include_path',
         . ini_get( 'include_path') );
 
 if (!is_dir("$civi_pkgs_dir/PHPUnit")) {
-  fwrite(STDERR, "PHPUnit is not embedded with this copy of CiviCRM. Perhaps you should use the standalone phpunit command?\n\nExample: \"phpunit tests/phpunit/CRM/Core/RegionTest.php\"\n");
+  fwrite(STDERR, "PHPUnit is not embedded with this copy of CiviCRM (in $civi_pkgs_dir). Perhaps you should use the standalone phpunit command?\n\nExample: \"phpunit tests/phpunit/CRM/Core/RegionTest.php\"\n");
   exit(1);
 }