diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-09-29 00:53:53 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-10-05 13:55:44 +0200 |
commit | a1f5364d7f43d708d326e7dcdb409ab157ce9dfe (patch) | |
tree | f05468f090b5dc2d97fb925d2b415047b8c7f787 /autotest.sh | |
parent | 66ae43880b7d898e54a47d3a4651684d85a1e951 (diff) | |
download | nextcloud-server-a1f5364d7f43d708d326e7dcdb409ab157ce9dfe.tar.gz nextcloud-server-a1f5364d7f43d708d326e7dcdb409ab157ce9dfe.zip |
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>
Diffstat (limited to 'autotest.sh')
-rwxr-xr-x | autotest.sh | 7 |
1 files changed, 5 insertions, 2 deletions
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='' |