1 |
commit: 0b57b043860f61517120594aa3edafa273e0482b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 10:40:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 07:30:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b57b043 |
7 |
|
8 |
cmake-utils.eclass: Prepare for makeopts_jobs default inf change |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/cmake-utils.eclass | 5 +++-- |
13 |
1 file changed, 3 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass |
16 |
index 85a9367b04b7..4ec3b900edaf 100644 |
17 |
--- a/eclass/cmake-utils.eclass |
18 |
+++ b/eclass/cmake-utils.eclass |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2021 Gentoo Authors |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
# @ECLASS: cmake-utils.eclass |
25 |
@@ -806,7 +806,8 @@ cmake-utils_src_test() { |
26 |
|
27 |
[[ -n ${TEST_VERBOSE} ]] && myctestargs+=( --extra-verbose --output-on-failure ) |
28 |
|
29 |
- set -- ctest -j "$(makeopts_jobs)" --test-load "$(makeopts_loadavg)" "${myctestargs[@]}" "$@" |
30 |
+ set -- ctest -j "$(makeopts_jobs "${MAKEOPTS}" 999)" \ |
31 |
+ --test-load "$(makeopts_loadavg)" "${myctestargs[@]}" "$@" |
32 |
echo "$@" >&2 |
33 |
if "$@" ; then |
34 |
einfo "Tests succeeded." |