We can only use online cpus, so make sure we check specifically for those. Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> --- scripts/runtime.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runtime.bash b/scripts/runtime.bash index 200d5b67290c..fbad0bd05fc5 100644 --- a/scripts/runtime.bash +++ b/scripts/runtime.bash @@ -1,5 +1,5 @@ : "${RUNTIME_arch_run?}" -: ${MAX_SMP:=$(getconf _NPROCESSORS_CONF)} +: ${MAX_SMP:=$(getconf _NPROCESSORS_ONLN)} : ${TIMEOUT:=90s} PASS() { echo -ne "\e[32mPASS\e[0m"; } -- 2.21.0