diff options
author | Henning Schild <henning@hennsch.de> | 2021-08-24 10:53:44 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-25 03:53:35 +0100 |
commit | e2918c476eb71ffe639f280837b32e301a0b3e1f (patch) | |
tree | e5b24f7e32a6a14f59a11d358714788ead8f6cbf /dev-util/bats | |
parent | dev-util/bats: disable failing test (diff) | |
download | gentoo-e2918c476eb71ffe639f280837b32e301a0b3e1f.tar.gz gentoo-e2918c476eb71ffe639f280837b32e301a0b3e1f.tar.bz2 gentoo-e2918c476eb71ffe639f280837b32e301a0b3e1f.zip |
dev-util/bats: silence "command -v" output
We just want to know whether it is there but do not care about the
output in our logs.
Fixes: ff3c1baa23b2 ("dev-util/bats: respect "makeopts_jobs" in test suite")
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/22087
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/bats')
-rw-r--r-- | dev-util/bats/bats-1.4.1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild index 9f246e29edde..86390c1dbd6b 100644 --- a/dev-util/bats/bats-1.4.1.ebuild +++ b/dev-util/bats/bats-1.4.1.ebuild @@ -27,7 +27,7 @@ src_prepare() { src_test() { local my_jobs=$(makeopts_jobs) - if ! command -v parallel; then + if ! command -v parallel >/dev/null; then my_jobs=1 fi bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed" |