From cb34882bd61e00295b6213d8c4c7bf9bb0e10a17 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Tue, 8 Nov 2005 11:45:15 +0100 Subject: fix t5000-tar-tree.sh when $TAR isn't set $TAR isn't set everywhere. Provide a default (tar) Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- t/t5000-tar-tree.sh | 1 + 1 file changed, 1 insertion(+) (limited to 't') diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh index 4db1bb1142..adc5e937de 100755 --- a/t/t5000-tar-tree.sh +++ b/t/t5000-tar-tree.sh @@ -25,6 +25,7 @@ commit id embedding: ' . ./test-lib.sh +TAR=${TAR:-tar} test_expect_success \ 'populate workdir' \ -- cgit v1.3 From 23fc63bf8fb7c3627f78ca6743b4f3ae17a5df49 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Tue, 8 Nov 2005 10:51:10 +0100 Subject: make tests ignorable with "make -i" Allow failed tests to be ignored using make's "-i". The patch also disables parallel make in t/. This doesn't make the testing any different as before: the tests were run sequentially before. It also allows to run more tests, ignoring the ones usually failing just to figure out if something else broke. (Or to ignore plainly uninteresting situations because of the testing being done on say... cygwin ;) Signed-off-by: Junio C Hamano --- t/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 't') diff --git a/t/Makefile b/t/Makefile index 5c76afff83..5c5a620126 100644 --- a/t/Makefile +++ b/t/Makefile @@ -15,9 +15,14 @@ shellquote = '$(call shq,$(1))' T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) -all: - @$(foreach t,$T,echo "*** $t ***"; $(call shellquote,$(SHELL_PATH)) $t $(GIT_TEST_OPTS) || exit; ) - @rm -fr trash +all: $(T) clean + +$(T): + @echo "*** $@ ***"; $(call shellquote,$(SHELL_PATH)) $@ $(GIT_TEST_OPTS) clean: rm -fr trash + +.PHONY: $(T) clean +.NOPARALLEL: + -- cgit v1.3