Skip to content

Commit 6a776ac

Browse files
johnkeepinggitster
authored andcommitted
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 <[email protected]> Acked-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4a9a4f0 commit 6a776ac

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

t/Makefile

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -83,42 +83,4 @@ valgrind:
8383
perf:
8484
$(MAKE) -C perf/ all
8585

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-
12486
.PHONY: pre-clean $(T) aggregate-results clean valgrind perf

0 commit comments

Comments
 (0)