From a1f5364d7f43d708d326e7dcdb409ab157ce9dfe Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@statuscode.ch>
Date: Thu, 29 Sep 2016 00:53:53 +0200
Subject: Generate coverage for quick DB tests

This adds the "QUICKDB" group which excludes some tests that abuse unit tests as integration tests as displayed in https://github.com/nextcloud/server/issues/1626

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
---
 autotest.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'autotest.sh')

diff --git a/autotest.sh b/autotest.sh
index 2dfa961a1a2..eca3d81c048 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -293,11 +293,14 @@ function execute_tests {
 		export XDEBUG_CONFIG=$_XDEBUG_CONFIG
 	fi
 	GROUP=''
+	if [ "$TEST_SELECTION" == "QUICKDB" ]; then
+		GROUP='--group DB --exclude-group=SLOWDB'
+	fi
 	if [ "$TEST_SELECTION" == "DB" ]; then
-		GROUP='--group DB'
+		GROUP='--group DB,SLOWDB'
 	fi
 	if [ "$TEST_SELECTION" == "NODB" ]; then
-		GROUP='--exclude-group DB'
+		GROUP='--exclude-group DB,SLOWDB'
 	fi
 
 	COVER=''
-- 
cgit v1.2.3