Merge pull request #3349 from vdye/feature/ci-subtree-tests

Add `contrib/subtree` test execution to CI builds
This commit is contained in:
Johannes Schindelin 2021-08-10 23:40:22 +02:00
commit 110b167658
3 changed files with 8 additions and 1 deletions

View File

@ -60,5 +60,9 @@ case "$jobname" in
;;
esac
case " $MAKE_TARGETS " in
*" all "*) make -C contrib/subtree test;;
esac
check_unignored_build_artifacts
save_good_tree

View File

@ -15,4 +15,7 @@ if [ "$1" == "0" ] ; then
group "Run unit tests" make --quiet -C t unit-tests-test-tool
fi
# Run the git subtree tests only if main tests succeeded
test 0 != "$1" || make -C contrib/subtree test
check_unignored_build_artifacts

View File

@ -95,7 +95,7 @@ $(GIT_SUBTREE_TEST): $(GIT_SUBTREE)
cp $< $@
test: $(GIT_SUBTREE_TEST)
$(MAKE) -C t/ test
$(MAKE) -C t/ all
clean:
$(RM) $(GIT_SUBTREE)