From 2a39c480b978894bcf0786dc5c0829b4add742d7 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Sun, 21 May 2017 17:20:24 +0200 Subject: [PATCH] test: capture stderr in test.log --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index cc237b4af6..533b89c051 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -48,7 +48,7 @@ cov: test: dev go test -tags "$(GOTAGS)" -i -run '^$$' ./... - ( set -o pipefail ; go test -tags "$(GOTAGS)" -v ./... | tee test.log ) + ( set -o pipefail ; go test -tags "$(GOTAGS)" -v ./... 2>&1 | tee test.log ) cover: go test $(GOFILES) --cover