Last active
June 4, 2016 06:58
-
-
Save legovaer/753c489c1f16dc162dc8d3a9a662c05a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh | |
index 30b3aab..5fe0ea5 100755 | |
--- a/scripts/run-tests.sh | |
+++ b/scripts/run-tests.sh | |
@@ -4,6 +4,10 @@ | |
* This script runs Drupal tests from command line. | |
*/ | |
+$path = __DIR__ . "/../vendor/phpunit/phpcov/src/lib"; | |
+set_include_path(get_include_path() . PATH_SEPARATOR . $path); | |
+require "autocoverage.php"; | |
+ | |
define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. | |
define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. | |
define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment