From 7b9885d788d0a6cdfa00e2ee5fe9ca02e17fd445 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 23 Jul 2017 23:57:57 +0200 Subject: kde-frameworks/kunitconversion: Restrict broken test Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- kde-frameworks/kunitconversion/kunitconversion-5.34.0.ebuild | 9 +++++++++ kde-frameworks/kunitconversion/kunitconversion-5.36.0.ebuild | 9 ++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'kde-frameworks') 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 } -- cgit v1.2.3-65-gdbad