Skip to content

Commit

Permalink
Added debug output
Browse files Browse the repository at this point in the history
This helped me identify a problem I had in getting unit tests working, thought I'd share.
  • Loading branch information
JohnFF committed May 11, 2015
1 parent fb9f0fb commit 33778fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/phpunit
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 33778fe

Please sign in to comment.