Skip to content

Commit

Permalink
Set MAKEJOBS in cryptest-pem.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
noloader committed Feb 5, 2024
1 parent 93208e8 commit 5cf87ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TestScripts/cryptest-pem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5cf87ae

Please sign in to comment.