dev-libs/mongo-c-driver: Restrict tests for x86
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 9 Feb 2018 14:12:25 +0000 (15:12 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 9 Feb 2018 14:12:25 +0000 (15:12 +0100)
Tests require a local mongodb instance. However, dev-db/mongodb upstream
doesn't support x86 anymore [Bug 646016] so we are restricting tests.

Bug: https://bugs.gentoo.org/646016
Closes: https://bugs.gentoo.org/645994
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild

index 179b8e0a1758a4f0bcd33ca01713d84297126a9d..256c3356f431eace9e14957212872b345a5a332f 100644 (file)
@@ -23,6 +23,10 @@ RDEPEND="app-arch/snappy:=
 DEPEND="${RDEPEND}
        test? ( dev-db/mongodb )"
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
        # remove bundled libs
        rm -rv src/{libbson,zlib*} || die