From 33778fe8365764949c2f65a2df272515f5afe86d Mon Sep 17 00:00:00 2001 From: John P Kirk Date: Mon, 11 May 2015 23:47:40 +0100 Subject: [PATCH] Added debug output This helped me identify a problem I had in getting unit tests working, thought I'd share. --- tools/scripts/phpunit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.25.1