makefile: dump all goroutines on panic

To provide more diagnostic information when unit tests panic.
This commit is contained in:
Joost Jager committed 2018-09-23 15:52:46 -07:00
1 parent 9f6fb1e128
commit f1590a15e7
1 file changed
+2 -2
+2 -2
View File
@@ -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