From 5c1d2c49a1f6ead6d9e64a48322b8cb4f8db2468 Mon Sep 17 00:00:00 2001 From: Tomas Mozes Date: Fri, 14 Dec 2018 13:45:42 +0100 Subject: [PATCH] dev-php/pecl-mongodb: skip failing test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Thomas Deutschmann --- 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 05c3b280e019..74d22474551a 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 -- 2.26.2