projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
511e3ce
)
eclass/tests/scons-utils.sh: Fix getting default job count
author
Michał Górny
<mgorny@gentoo.org>
Wed, 20 Nov 2019 09:14:28 +0000
(10:14 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 20 Nov 2019 09:15:03 +0000
(10:15 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/tests/scons-utils.sh
patch
|
blob
|
history
diff --git
a/eclass/tests/scons-utils.sh
b/eclass/tests/scons-utils.sh
index 7a588863c6a9af09504c2ca301b9b73f77d4fe7d..873312f67d07246585d5b5c4076fc874f92cb854 100755
(executable)
--- a/
eclass/tests/scons-utils.sh
+++ b/
eclass/tests/scons-utils.sh
@@
-1,5
+1,5
@@
#!/bin/bash
-# Copyright 1999-201
5 Gentoo Foundation
+# Copyright 1999-201
9 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
source tests-common.sh
@@
-27,7
+27,7
@@
test-scons_clean_makeopts() {
}
# jobcount expected for non-specified state
-jc=$(
_scons_get_default_jobs
)
+jc=$(
( $(get_nproc) + 1 )
)
# failed test counter
failed=0