t/Makefile: remove smoke test targets
Commit d24fbca (Remove Git's support for smoke testing - 2011-12-23) removed the smoke test support from the test suite but it was re-added by commit 342e9ef (Introduce a performance testing framework - 2012-02-17). This appears to be the result of a mis-rebase, since re-adding the smoke testing infrastructure does not relate to the subject of that commit. The current 'smoke' target is broken since the 'harness' script it uses no longer exists, so just reapply this section of commit d24fbca and remove all of the smoke testing section in the makefile. Signed-off-by: John Keeping <john@keeping.me.uk> Acked-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
John Keeping committed
Apr 26, 2013 at 18:58 UTC
6a776acabf1f83846e03acb0ccc4d14d0be5ab69
1 file changed
-38
t/Makefile
-38
@@ -83,42 +83,4 @@ valgrind:
83
perf:
84
$(MAKE) -C perf/ all
85
86
-# Smoke testing targets
87
--include ../GIT-VERSION-FILE
88
-uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo unknown')
89
-uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo unknown')
90
-
91
-test-results:
92
- mkdir -p test-results
93
-
94
-test-results/git-smoke.tar.gz: test-results
95
- '$(PERL_PATH_SQ)' ./harness \
96
- --archive="test-results/git-smoke.tar.gz" \
97
- $(T)
98
-
99
-smoke: test-results/git-smoke.tar.gz
100
-
101
-SMOKE_UPLOAD_FLAGS =
102
-ifdef SMOKE_USERNAME
103
- SMOKE_UPLOAD_FLAGS += -F username="$(SMOKE_USERNAME)" -F password="$(SMOKE_PASSWORD)"
104
-endif
105
-ifdef SMOKE_COMMENT
106
- SMOKE_UPLOAD_FLAGS += -F comments="$(SMOKE_COMMENT)"
107
-endif
108
-ifdef SMOKE_TAGS
109
- SMOKE_UPLOAD_FLAGS += -F tags="$(SMOKE_TAGS)"
110
-endif
111
-
112
-smoke_report: smoke
113
- curl \
114
- -H "Expect: " \
115
- -F project=Git \
116
- -F architecture="$(uname_M)" \
117
- -F platform="$(uname_S)" \
118
- -F revision="$(GIT_VERSION)" \
119
- -F report_file=@test-results/git-smoke.tar.gz \
120
- $(SMOKE_UPLOAD_FLAGS) \
121
- http://smoke.git.nix.is/app/projects/process_add_report/1 \
122
- | grep -v ^Redirecting
123
-
86
.PHONY: pre-clean $(T) aggregate-results clean valgrind perf