summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2021-02-21 11:23:27 +0100
committerFlorian Pritz <bluewind@xinu.at>2021-02-21 11:23:27 +0100
commit252f2bfacd0b4a24a57d6774ce43bdaa3c29f4a2 (patch)
tree2ec5658c3d1cb9f423cff2aa5f03726e51c4d230 /run-tests.sh
parent08510ba2faa4785339ca7093ba0fa7052ff5d0c8 (diff)
PHP8: Fix testsuite compatibility
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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"