interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / ci / run-test-slice.sh

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