From 39e1c22e0a85bc934932d458fd7e08b85d33cee4 Mon Sep 17 00:00:00 2001
From: Thomas Mueller <thomas.mueller@tmit.eu>
Date: Wed, 10 Oct 2012 23:37:15 +0200
Subject: [PATCH] move autotest to phpunit

---
 autotest.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/autotest.sh b/autotest.sh
index a42c6ab059e..54f1eda9932 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -86,7 +86,8 @@ function execute_tests {
 	#test execution
 	echo "Testing with $1 ..."
 	cd tests
-	php -f index.php -- xml $1 > autotest-results-$1.xml
+	#php -f index.php -- xml $1 > autotest-results-$1.xml
+	phpunit --log-junit autotest-results-$1.xml --coverage-clover autotest-clover-$1.xml
 }
 
 #
-- 
GitLab