]> source.dussan.org Git - nextcloud-server.git/commitdiff
Exclude apps/*/tests for coverage calculation
authorDaniel Kesselberg <mail@danielkesselberg.de>
Mon, 10 Aug 2020 11:40:16 +0000 (13:40 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Mon, 10 Aug 2020 11:40:16 +0000 (13:40 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tests/phpunit-autotest.xml

index da786c765f8f0806884de574010a1aa83328b807..aa1895620f8ee5d8501b6c1c1afe503bb7adf493 100644 (file)
@@ -8,7 +8,6 @@
 >
        <testsuite name='ownCloud'>
                <directory suffix='.php'>lib/</directory>
-               <directory suffix='.php'>Settings/</directory>
                <directory suffix='.php'>Core/</directory>
                <directory suffix='.php'>ocs-provider/</directory>
                <file>apps.php</file>
                        <directory suffix=".php">..</directory>
                        <exclude>
                                <directory suffix=".php">../3rdparty</directory>
-                               <directory suffix=".php">../apps/admin_audit/tests</directory>
-                               <directory suffix=".php">../apps/dav/tests</directory>
-                               <directory suffix=".php">../apps/encryption/tests</directory>
-                               <directory suffix=".php">../apps/federatedfilesharing/tests</directory>
-                               <directory suffix=".php">../apps/federation/tests</directory>
-                               <directory suffix=".php">../apps/files/tests</directory>
-                               <directory suffix=".php">../apps/files_external</directory>
-                               <directory suffix=".php">../apps/files_sharing/tests</directory>
-                               <directory suffix=".php">../apps/files_trashbin/tests</directory>
-                               <directory suffix=".php">../apps/files_versions/tests</directory>
-                               <directory suffix=".php">../apps/oauth2/tests</directory>
-                               <directory suffix=".php">../apps/provisioning_api/tests</directory>
-                               <directory suffix=".php">../apps/systemtags/tests</directory>
-                               <directory suffix=".php">../apps/theming/tests</directory>
-                               <directory suffix=".php">../apps/settings/tests</directory>
-                               <directory suffix=".php">../apps/twofactor_backupcodes/tests</directory>
-                               <directory suffix=".php">../apps/updatenotification/tests</directory>
-                               <directory suffix=".php">../apps/user_ldap/tests</directory>
-                               <directory suffix=".php">../apps/workflowengine/tests</directory>
-                               <directory suffix=".php">../tests</directory>
+                               <directory suffix=".php">../apps/*/composer</directory>
+                               <directory suffix=".php">../apps/*/tests</directory>
                                <directory suffix=".php">../build</directory>
                                <directory suffix=".php">../lib/composer</directory>
-                               <directory suffix=".php">../apps/*/composer</directory>
+                               <directory suffix=".php">../tests</directory>
                        </exclude>
                </whitelist>
        </filter>