From: John P Kirk Date: Mon, 11 May 2015 22:47:40 +0000 (+0100) Subject: Added debug output X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=33778fe8365764949c2f65a2df272515f5afe86d;p=civicrm-core.git Added debug output This helped me identify a problem I had in getting unit tests working, thought I'd share. --- diff --git a/tools/scripts/phpunit b/tools/scripts/phpunit index 827cd94484..4c95b1475b 100755 --- a/tools/scripts/phpunit +++ b/tools/scripts/phpunit @@ -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); }