Files
git/ci/run-test-slice.sh
Johannes Schindelin e5e341851a ci: stop linking the prove cache
It is not useful because we do not have any persisted directory anymore,
not since dropping our Travis CI support.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-02-09 21:08:16 +01:00

19 lines
404 B
Bash
Executable File

#!/bin/sh
#
# Test Git in parallel
#
. ${0%/*}/lib.sh
group "Run tests" make --quiet -C t T="$(cd t &&
./helper/test-tool path-utils slice-tests "$1" "$2" t[0-9]*.sh |
tr '\n' ' ')" ||
handle_failed_tests
# We only have one unit test at the moment, so run it in the first slice
if [ "$1" == "0" ] ; then
group "Run unit tests" make --quiet -C t unit-tests-prove
fi
check_unignored_build_artifacts