makefile: dump all goroutines on panic

To provide more diagnostic information when unit tests panic.
This commit is contained in:
Joost Jager 2018-09-14 10:37:59 +02:00
parent 9f6fb1e128
commit f1590a15e7
No known key found for this signature in database
GPG Key ID: AE6B0D042C8E38D9

@ -175,8 +175,8 @@ flakehunter: build
flake-unit: flake-unit:
@$(call print, "Flake hunting unit tests.") @$(call print, "Flake hunting unit tests.")
$(UNIT) -count=1 GOTRACEBACK=all $(UNIT) -count=1
while [ $$? -eq 0 ]; do /bin/sh -c "$(UNIT) -count=1"; done while [ $$? -eq 0 ]; do /bin/sh -c "GOTRACEBACK=all $(UNIT) -count=1"; done
# ====== # ======
# TRAVIS # TRAVIS