diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-28 12:40:28 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-01 09:30:34 +0200 |
commit | 0b57b043860f61517120594aa3edafa273e0482b (patch) | |
tree | 8fe8e7870609e3e0ce9e1b9324eedd2bb24f5c0d /eclass/cmake-utils.eclass | |
parent | cmake.eclass: Prepare for makeopts_jobs default inf change (diff) | |
download | gentoo-0b57b043860f61517120594aa3edafa273e0482b.tar.gz gentoo-0b57b043860f61517120594aa3edafa273e0482b.tar.bz2 gentoo-0b57b043860f61517120594aa3edafa273e0482b.zip |
cmake-utils.eclass: Prepare for makeopts_jobs default inf change
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/cmake-utils.eclass')
-rw-r--r-- | eclass/cmake-utils.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 85a9367b04b7..4ec3b900edaf 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: cmake-utils.eclass @@ -806,7 +806,8 @@ cmake-utils_src_test() { [[ -n ${TEST_VERBOSE} ]] && myctestargs+=( --extra-verbose --output-on-failure ) - set -- ctest -j "$(makeopts_jobs)" --test-load "$(makeopts_loadavg)" "${myctestargs[@]}" "$@" + set -- ctest -j "$(makeopts_jobs "${MAKEOPTS}" 999)" \ + --test-load "$(makeopts_loadavg)" "${myctestargs[@]}" "$@" echo "$@" >&2 if "$@" ; then einfo "Tests succeeded." |