File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,21 @@ linux-gcc)
27
27
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
28
28
export GIT_TEST_WRITE_REV_INDEX=1
29
29
export GIT_TEST_CHECKOUT_WORKERS=2
30
- make test
30
+ make test && make -C contrib/subtree test || exit 1
31
31
;;
32
32
linux-clang)
33
33
export GIT_TEST_DEFAULT_HASH=sha1
34
34
make test
35
35
export GIT_TEST_DEFAULT_HASH=sha256
36
- make test
36
+ make test && make -C contrib/subtree test || exit 1
37
37
;;
38
38
linux-gcc-4.8)
39
39
# Don't run the tests; we only care about whether Git can be
40
40
# built with GCC 4.8, as it errors out on some undesired (C99)
41
41
# constructs that newer compilers seem to quietly accept.
42
42
;;
43
43
* )
44
- make test
44
+ make test && make -C contrib/subtree test || exit 1
45
45
;;
46
46
esac
47
47
Original file line number Diff line number Diff line change @@ -14,4 +14,7 @@ make --quiet -C t T="$(cd t &&
14
14
./helper/test-tool path-utils slice-tests " $1 " " $2 " t[0-9]* .sh |
15
15
tr ' \n' ' ' ) "
16
16
17
+ # Run the git subtree tests only if main tests succeeded
18
+ test 0 ! = " $1 " || make -C contrib/subtree test
19
+
17
20
check_unignored_build_artifacts
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ $(GIT_SUBTREE_TEST): $(GIT_SUBTREE)
94
94
cp $< $@
95
95
96
96
test : $(GIT_SUBTREE_TEST )
97
- $(MAKE ) -C t/ test
97
+ $(MAKE ) -C t/ all
98
98
99
99
clean :
100
100
$(RM ) $(GIT_SUBTREE )
You can’t perform that action at this time.
0 commit comments