net-libs/kdav2: Disable tests depending on net access
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 20 Mar 2019 13:06:12 +0000 (14:06 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 20 Mar 2019 13:06:40 +0000 (14:06 +0100)
Closes: https://bugs.gentoo.org/680952
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
net-libs/kdav2/kdav2-0.2.0.ebuild

index 1652b2375aeb4093c540f490337077ba50a9e32c..73115f33bb10ce7fb7b802c0a90bd4e707f03207 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,3 +23,12 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
+src_test() {
+       # disable tests requiring net access, bug #680952
+       local myctestargs=(
+               -E "(kdav2-davcollectionfetchjob|kdav2-davcollectioncreatejob)"
+       )
+
+       kde5_src_test
+}