makefile: dump all goroutines on panic
To provide more diagnostic information when unit tests panic.
This commit is contained in:
parent
9f6fb1e128
commit
f1590a15e7
4
Makefile
4
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user