From 5cf87aed6647709220eee728c48032591aa2dff4 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 5 Feb 2024 10:54:48 -0500 Subject: [PATCH] Set MAKEJOBS in cryptest-pem.sh --- TestScripts/cryptest-pem.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TestScripts/cryptest-pem.sh b/TestScripts/cryptest-pem.sh index c71e225c..3ab86130 100755 --- a/TestScripts/cryptest-pem.sh +++ b/TestScripts/cryptest-pem.sh @@ -17,6 +17,9 @@ SED=sed AWK=awk MAKE=make +# Set make jobs to 2 if not set +MAKEJOBS="${MAKEJOBS:-2}" + # Fixup, Solaris and friends if [[ (-d /usr/xpg4/bin) ]]; then SED=/usr/xpg4/bin/sed @@ -87,7 +90,7 @@ echo "" "$MAKE" clean &>/dev/null -if ! "$MAKE" -j 2; then +if ! "$MAKE" -j ${MAKEJOBS}; then echo "make failed." exit 1 fi