dev-php/pecl-mongodb: skip failing test
authorTomas Mozes <hydrapolic@gmail.com>
Fri, 14 Dec 2018 12:45:42 +0000 (13:45 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 16 Dec 2018 23:30:03 +0000 (00:30 +0100)
Closes: https://bugs.gentoo.org/show_bug.cgi?id=670642
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild

index 05c3b280e01979acee23a8b71f58e513a6db86b8..74d22474551a8be92088fa61b7488eeb5c2f7330 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,6 +29,13 @@ RDEPEND="
 # pkgconfig needed if system libraries are used for bson and libmongoc
 DEPEND="${RDEPEND} virtual/pkgconfig"
 
+src_prepare() {
+       # skip failing test (Bug #670642)
+       rm tests/exception/runtimeexception-haserrorlabel-002.phpt || die
+
+       php-ext-source-r3_src_prepare
+}
+
 src_configure() {
        local PHP_EXT_ECONF_ARGS=(
                --enable-mongodb