2 # subdirmk - toplevel invocation script for the test suite
3 # Copyright 2019 Mark Wooding
4 # Copyright 2019 Ian Jackson
5 # SPDX-License-Identifier: LGPL-2.0-or-later
6 # There is NO WARRANTY.
10 j=$(nproc 2>/dev/null || echo 1)
11 j=$(( $j * 5 / 4 + 1 ))
13 x () { echo "$@"; "$@"; }
14 x ${MAKE-make} -f tests/tests.mk -j$j