commit:     5c1d2c49a1f6ead6d9e64a48322b8cb4f8db2468
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Dec 14 12:45:42 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Dec 16 23:30:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1d2c49

dev-php/pecl-mongodb: skip failing test

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 <AT> gmail.com>
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild 
b/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild
index 05c3b280e01..74d22474551 100644
--- a/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild
@@ -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

Reply via email to