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 @@ -33,20 +33,20 @@ linux-gcc)
33
33
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
34
34
export GIT_TEST_WRITE_REV_INDEX=1
35
35
export GIT_TEST_CHECKOUT_WORKERS=2
36
- make test
36
+ make test && make -C contrib/subtree test || exit 1
37
37
;;
38
38
linux-clang)
39
39
export GIT_TEST_DEFAULT_HASH=sha1
40
40
make test
41
41
export GIT_TEST_DEFAULT_HASH=sha256
42
- make test
42
+ make test && make -C contrib/subtree test || exit 1
43
43
;;
44
44
linux-gcc-4.8|pedantic)
45
45
# Don't run the tests; we only care about whether Git can be
46
46
# built with GCC 4.8 or with pedantic
47
47
;;
48
48
* )
49
- make test
49
+ make test && make -C contrib/subtree test || exit 1
50
50
;;
51
51
esac
52
52
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