diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 99fe5db77053..a3c7b8ed8026 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: qt5-build.eclass @@ -103,7 +103,11 @@ EGIT_REPO_URI=( IUSE="debug test" -[[ ${QT5_BUILD_TYPE} == release ]] && RESTRICT+=" test" # bug 457182 +if [[ ${QT5_BUILD_TYPE} == release ]]; then + RESTRICT+=" test" # bug 457182 +else + RESTRICT+=" !test? ( test )" +fi BDEPEND=" dev-lang/perl |