Skip to content

Instantly share code, notes, and snippets.

@legovaer
Last active May 13, 2016 13:49
Show Gist options
  • Save legovaer/7e9edb6767b98847818d6c58cea6bf7c to your computer and use it in GitHub Desktop.
Save legovaer/7e9edb6767b98847818d6c58cea6bf7c to your computer and use it in GitHub Desktop.
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index a541a18..fc6930c 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -1,4 +1,9 @@
<?php
+
+$path = "/usr/local/simpletest/extensions/coverage";
+set_include_path(get_include_path() . PATH_SEPARATOR . $path);
+require "autocoverage.php";
+
/**
* @file
* This script runs Drupal tests from command line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment