apply: avoid using fixed-size buffer in write_out_one_reject()
[git.git] / ci / run-test-slice.sh
blobae8094382fe418dbd807dbc2156e16b814aa2adc
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-prove
23 check_unignored_build_artifacts