summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-11 10:42:17 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-11 21:47:28 +0100
commit11ebf480d4ff882755123aa997f6cb8e18481707 (patch)
tree50c50a79956dd1e9c0727137eadb46d94b8dad55 /eclass/haskell-cabal.eclass
parentsys-libs/efivar: remove old (diff)
downloadgentoo-11ebf480d4ff882755123aa997f6cb8e18481707.tar.gz
gentoo-11ebf480d4ff882755123aa997f6cb8e18481707.tar.bz2
gentoo-11ebf480d4ff882755123aa997f6cb8e18481707.zip
haskell-cabal.eclass: Fix MissingTestRestrict
This fixes 564 cases of MissingTestRestrict. According to md5-cache inspection, no other changes in metadata occur. Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13945 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/haskell-cabal.eclass')
-rw-r--r--eclass/haskell-cabal.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 30b67bf7af94..2fc797e764cb 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: haskell-cabal.eclass
@@ -137,6 +137,7 @@ fi
if [[ -n "${CABAL_TEST_SUITE}" ]]; then
IUSE="${IUSE} test"
+ RESTRICT+=" !test? ( test )"
fi
# returns the version of cabal currently in use.