summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-07-23 23:57:57 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-07-23 23:58:45 +0200
commit7b9885d788d0a6cdfa00e2ee5fe9ca02e17fd445 (patch)
tree7466082554f81e577427eeed2d7d5550dd38e3fd /kde-frameworks
parentapp-vim/nagios-syntax: version and EAPI 6 bump. (diff)
downloadgentoo-7b9885d788d0a6cdfa00e2ee5fe9ca02e17fd445.tar.gz
gentoo-7b9885d788d0a6cdfa00e2ee5fe9ca02e17fd445.tar.bz2
gentoo-7b9885d788d0a6cdfa00e2ee5fe9ca02e17fd445.zip
kde-frameworks/kunitconversion: Restrict broken test
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/kunitconversion/kunitconversion-5.34.0.ebuild9
-rw-r--r--kde-frameworks/kunitconversion/kunitconversion-5.36.0.ebuild9
2 files changed, 15 insertions, 3 deletions
diff --git a/kde-frameworks/kunitconversion/kunitconversion-5.34.0.ebuild b/kde-frameworks/kunitconversion/kunitconversion-5.34.0.ebuild
index 207edb34382d..f3c32a90ce5b 100644
--- a/kde-frameworks/kunitconversion/kunitconversion-5.34.0.ebuild
+++ b/kde-frameworks/kunitconversion/kunitconversion-5.34.0.ebuild
@@ -16,3 +16,12 @@ RDEPEND="
$(add_qt_dep qtxml)
"
DEPEND="${RDEPEND}"
+
+src_test() {
+ # bug 623938 - needs internet connection
+ local myctestargs=(
+ -E "(convertertest)"
+ )
+
+ kde5_src_test
+}
diff --git a/kde-frameworks/kunitconversion/kunitconversion-5.36.0.ebuild b/kde-frameworks/kunitconversion/kunitconversion-5.36.0.ebuild
index 6858c43fe646..30d1f4f2856c 100644
--- a/kde-frameworks/kunitconversion/kunitconversion-5.36.0.ebuild
+++ b/kde-frameworks/kunitconversion/kunitconversion-5.36.0.ebuild
@@ -17,8 +17,11 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-src_prepare(){
- kde5_src_prepare
+src_test() {
# bug 623938 - needs internet connection
- sed -i -e "/convertertest\.cpp/d" autotests/CMakeLists.txt || die
+ local myctestargs=(
+ -E "(convertertest)"
+ )
+
+ kde5_src_test
}