summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh
index db6a977f4..166aacd3f 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -6,6 +6,10 @@
export ENVIRONMENT="testsuite"
export COLLECT_COVERAGE=1
+if [[ $COLLECT_COVERAGE = 1 ]]; then
+ export XDEBUG_MODE=coverage
+fi
+
startdir="$(dirname "$0")"
datadir="testsuite-tmp"