Skip to content

Instantly share code, notes, and snippets.

@legovaer
Last active June 6, 2016 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legovaer/70bfcbed6cca026817fc5f22cceb9bec to your computer and use it in GitHub Desktop.
Save legovaer/70bfcbed6cca026817fc5f22cceb9bec to your computer and use it in GitHub Desktop.
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