diff --git a/docs/test-on-vm-lab.sh b/docs/test-on-vm-lab.sh index 6a941fd..488e24b 100755 --- a/docs/test-on-vm-lab.sh +++ b/docs/test-on-vm-lab.sh @@ -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