Last active
June 6, 2016 14:31
-
-
Save legovaer/70bfcbed6cca026817fc5f22cceb9bec 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..02bd2a9 100755 | |
--- a/scripts/run-tests.sh | |
+++ b/scripts/run-tests.sh | |
@@ -12,6 +12,10 @@ define('SIMPLETEST_SCRIPT_EXIT_SUCCESS', 0); | |
define('SIMPLETEST_SCRIPT_EXIT_FAILURE', 1); | |
define('SIMPLETEST_SCRIPT_EXIT_EXCEPTION', 2); | |
+$path = getenv('HOME') . '/.composer/vendor/legovaer/phpcov-runner/lib'; | |
+set_include_path(get_include_path() . PATH_SEPARATOR . $path); | |
+require "autocoverage.php"; | |
+ | |
// Set defaults and get overrides. | |
list($args, $count) = simpletest_script_parse_args(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment