Raw
1 #!/bin/sh
2 #
3 # Test Git in parallel
4 #
5
6 . ${0%/*}/lib.sh
7
8 TESTS=$(cd t && ./helper/test-tool path-utils slice-tests "$1" "$2" t[0-9]*.sh)
9
10 group "Run tests" make --quiet -C t T="$(echo "$TESTS" | tr '\n' ' ')" ||
11 handle_failed_tests
12
13 # We only have one unit test at the moment, so run it in the first slice
14 if [ "$1" == "0" ] ; then
15 group "Run unit tests" make --quiet -C t unit-tests-test-tool
16 fi
17
18 check_unignored_build_artifacts