Pass "-j4" to "make" during the checks.

This commit is contained in:
Andrew Wood
2024-12-07 13:34:36 +00:00
parent 17a1c9d639
commit 0626737a15
+4 -4
View File
@@ -83,15 +83,15 @@ testRunner () {
printf '%s %s\n' 'notice' 'building' >&3
if test -n "${buildHost}"; then
ssh "${buildHost}" "cd \"${remoteBuildDir}/BUILD\" && make" || exit $?
ssh "${buildHost}" "cd \"${remoteBuildDir}/BUILD\" && make -j4" || exit $?
else
make -C "${localBuildDir}/BUILD" || exit $?
make -j4 -C "${localBuildDir}/BUILD" || exit $?
fi
printf '%s %s\n' 'ok' 'build completed' >&3
if test -n "${buildHost}"; then
printf '%s %s\n' 'notice' 'testing' >&3
ssh "${buildHost}" "cd \"${remoteBuildDir}/BUILD\" && make check" || exit $?
ssh "${buildHost}" "cd \"${remoteBuildDir}/BUILD\" && make -j4 check" || exit $?
printf '%s %s\n' 'ok' 'testing completed' >&3
elif test -n "${checkHost}"; then
printf '%s %s\n' 'notice' "transferring build to ${checkHost}" >&3
@@ -100,7 +100,7 @@ testRunner () {
ssh "${checkHost}" "tar xf \"${remoteBuildDir}/build.tar\" -C \"${remoteBuildDir}\"" || exit $?
printf '%s %s\n' 'ok' "transferred build to ${checkHost}" >&3
printf '%s %s\n' 'notice' "testing on ${checkHost}" >&3
ssh "${checkHost}" "cd \"${remoteBuildDir}/BUILD\" && make check-TESTS XCTEST=1" || exit $?
ssh "${checkHost}" "cd \"${remoteBuildDir}/BUILD\" && make -j4 check-TESTS XCTEST=1" || exit $?
printf '%s %s\n' 'ok' 'testing completed' >&3
fi