summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-16 13:36:43 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-16 13:37:11 +0300
commit378cd27308b90b9fa48c69f3e8102ebdaa04f82e (patch)
tree535953e682ecb97814bb792bcc75879e26236bf4 /dev-util/shunit2
parentapp-text/bibletime: add option to install offline documentation (diff)
downloadgentoo-378cd27308b90b9fa48c69f3e8102ebdaa04f82e.tar.gz
gentoo-378cd27308b90b9fa48c69f3e8102ebdaa04f82e.tar.bz2
gentoo-378cd27308b90b9fa48c69f3e8102ebdaa04f82e.zip
dev-util/shunit2: targets tests at bash only
Closes: https://bugs.gentoo.org/821922 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-util/shunit2')
-rw-r--r--dev-util/shunit2/shunit2-2.1.8.ebuild13
1 files changed, 1 insertions, 12 deletions
diff --git a/dev-util/shunit2/shunit2-2.1.8.ebuild b/dev-util/shunit2/shunit2-2.1.8.ebuild
index eff08c9107a3..102081d4d15d 100644
--- a/dev-util/shunit2/shunit2-2.1.8.ebuild
+++ b/dev-util/shunit2/shunit2-2.1.8.ebuild
@@ -10,20 +10,9 @@ SRC_URI="https://github.com/kward/shunit2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- test? (
- app-shells/dash
- app-shells/ksh
- app-shells/zsh
- )
-"
src_test() {
- rm shunit2_macros_test.sh || die
- ./test_runner || die
+ SHELL="/bin/bash" ./test_runner -s /bin/bash || die "bash tests failed"
}
src_install() {