mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-15 17:42:52 -05:00
Merge pull request #3349 from vdye/feature/ci-subtree-tests
Add `contrib/subtree` test execution to CI builds
This commit is contained in:
@@ -56,4 +56,8 @@ then
|
||||
fi
|
||||
check_unignored_build_artifacts
|
||||
|
||||
case " $MAKE_TARGETS " in
|
||||
*" all "*) make -C contrib/subtree test;;
|
||||
esac
|
||||
|
||||
save_good_tree
|
||||
|
||||
@@ -20,4 +20,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
|
||||
|
||||
@@ -94,7 +94,7 @@ $(GIT_SUBTREE_TEST): $(GIT_SUBTREE)
|
||||
cp $< $@
|
||||
|
||||
test: $(GIT_SUBTREE_TEST)
|
||||
$(MAKE) -C t/ test
|
||||
$(MAKE) -C t/ all
|
||||
|
||||
clean:
|
||||
$(RM) $(GIT_SUBTREE)
|
||||
|
||||
Reference in New Issue
Block a user