From 5f1bd2aec07c55f751234ee87ad36babb8dc1fb8 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 cc237b4af..533b89c05 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