t/README: add missing value for GIT_TEST_DEFAULT_REF_FORMAT
[git/gitster.git] / ci / run-test-slice.sh
blobe167e646f79e3df3d81fcb26cf61e6ec47d3ecc4
1 #!/bin/sh
3 # Test Git in parallel
6 . ${0%/*}/lib.sh
8 case "$CI_OS_NAME" in
9 windows*) cmd //c mklink //j t\\.prove "$(cygpath -aw "$cache_dir/.prove")";;
10 *) ln -s "$cache_dir/.prove" t/.prove;;
11 esac
13 group "Run tests" make --quiet -C t T="$(cd t &&
14 ./helper/test-tool path-utils slice-tests "$1" "$2" t[0-9]*.sh |
15 tr '\n' ' ')" ||
16 handle_failed_tests
18 # We only have one unit test at the moment, so run it in the first slice
19 if [ "$1" == "0" ] ; then
20 group "Run unit tests" make --quiet -C t unit-tests-test-tool
23 check_unignored_build_artifacts