diff --git a/autotest.sh b/autotest.sh
index 4562b3ed08a553cea5671ccf6e9ef266a89f2afe..59f0240d99b8148525abcd2d20d6842624a618fc 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -132,9 +132,9 @@ EOF
 	php -f enable_all.php
 	if [ "$1" == "sqlite" ] ; then
 		# coverage only with sqlite - causes segfault on ci.tmit.eu - reason unknown
-		phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1
+		phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml --coverage-html coverage-html-$1 $2 $3
 	else
-		phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml
+		phpunit --configuration phpunit-autotest.xml --log-junit autotest-results-$1.xml $2 $3
 	fi
 }
 
@@ -149,7 +149,7 @@ if [ -z "$1" ]
 	# we will add oci as soon as it's stable
 	#execute_tests 'oci'
 else
-	execute_tests $1
+	execute_tests $1 $2 $3
 fi
 
 #