From f1590a15e71359f9a1f3f961708b1bcdfabcee99 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Fri, 14 Sep 2018 10:37:59 +0200 Subject: [PATCH] makefile: dump all goroutines on panic To provide more diagnostic information when unit tests panic. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7cffacfe..2c7b4aa2 100644 --- a/Makefile +++ b/Makefile @@ -175,8 +175,8 @@ flakehunter: build flake-unit: @$(call print, "Flake hunting unit tests.") - $(UNIT) -count=1 - while [ $$? -eq 0 ]; do /bin/sh -c "$(UNIT) -count=1"; done + GOTRACEBACK=all $(UNIT) -count=1 + while [ $$? -eq 0 ]; do /bin/sh -c "GOTRACEBACK=all $(UNIT) -count=1"; done # ====== # TRAVIS