Skip to content

Commit be21865

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge pull request #3349 from vdye/feature/ci-subtree-tests
Add `contrib/subtree` test execution to CI builds
2 parents 4e60ca5 + 4684524 commit be21865

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

ci/run-build-and-tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,9 @@ case "$jobname" in
6060
;;
6161
esac
6262

63+
case " $MAKE_TARGETS " in
64+
*" all "*) make -C contrib/subtree test;;
65+
esac
66+
6367
check_unignored_build_artifacts
6468
save_good_tree

ci/run-test-slice.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ if [ "$1" == "0" ] ; then
1515
group "Run unit tests" make --quiet -C t unit-tests-test-tool
1616
fi
1717

18+
# Run the git subtree tests only if main tests succeeded
19+
test 0 != "$1" || make -C contrib/subtree test
20+
1821
check_unignored_build_artifacts

contrib/subtree/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ $(GIT_SUBTREE_TEST): $(GIT_SUBTREE)
9595
cp $< $@
9696

9797
test: $(GIT_SUBTREE_TEST)
98-
$(MAKE) -C t/ test
98+
$(MAKE) -C t/ all
9999

100100
clean:
101101
$(RM) $(GIT_SUBTREE)

0 commit comments

Comments
 (0)