dev-db/percona-server: remove FEATURES check
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 20 Aug 2018 19:44:30 +0000 (21:44 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 20 Aug 2018 19:44:30 +0000 (21:44 +0200)
Bug: https://bugs.gentoo.org/664104
Package-Manager: Portage-2.3.47, Repoman-2.3.10

dev-db/percona-server/percona-server-5.6.41.84.1.ebuild

index a46ac7790a7508356ba65b3f0b0321d310121493..0f90f84fff87325ece0b3df9d26fc10dbf1319f1 100644 (file)
@@ -35,7 +35,8 @@ IUSE="-client-libs cracklib debug jemalloc latin1 libressl numa pam +perl profil
        +server static static-libs systemtap tcmalloc test test-suite tokudb tokudb-backup-plugin yassl"
 
 # Tests always fail when libressl is enabled due to hard-coded ciphers in the tests
-RESTRICT="libressl? ( test )"
+RESTRICT="libressl? ( test )
+       !test? ( test )"
 
 REQUIRED_USE="tokudb-backup-plugin? ( tokudb ) tokudb? ( jemalloc !tcmalloc ) ?? ( tcmalloc jemalloc ) static? ( yassl )"
 
@@ -210,17 +211,6 @@ pkg_setup() {
                        die "Unsupported GCC version"
                fi
 
-               if has test ${FEATURES} && \
-                       use server && ! has userpriv ${FEATURES} ; then
-                               eerror "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
-                               die "FEATURES=test with FEATURES=-userpriv is not supported"
-               fi
-
-               if has test ${FEATURES} && ! use test ; then
-                       eerror "FEATURES=test requires USE=test."
-                       die "FEATURES=test set but not USE=test"
-               fi
-
                use test && python-any-r1_pkg_setup
        fi