1 |
commit: e2918c476eb71ffe639f280837b32e301a0b3e1f |
2 |
Author: Henning Schild <henning <AT> hennsch <DOT> de> |
3 |
AuthorDate: Tue Aug 24 08:53:44 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 25 02:53:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2918c47 |
7 |
|
8 |
dev-util/bats: silence "command -v" output |
9 |
|
10 |
We just want to know whether it is there but do not care about the |
11 |
output in our logs. |
12 |
|
13 |
Fixes: ff3c1baa23b2 ("dev-util/bats: respect "makeopts_jobs" in test suite") |
14 |
Signed-off-by: Henning Schild <henning <AT> hennsch.de> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/22087 |
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
dev-util/bats/bats-1.4.1.ebuild | 2 +- |
19 |
1 file changed, 1 insertion(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild |
22 |
index 9f246e29edd..86390c1dbd6 100644 |
23 |
--- a/dev-util/bats/bats-1.4.1.ebuild |
24 |
+++ b/dev-util/bats/bats-1.4.1.ebuild |
25 |
@@ -27,7 +27,7 @@ src_prepare() { |
26 |
|
27 |
src_test() { |
28 |
local my_jobs=$(makeopts_jobs) |
29 |
- if ! command -v parallel; then |
30 |
+ if ! command -v parallel >/dev/null; then |
31 |
my_jobs=1 |
32 |
fi |
33 |
bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed" |