From bca717873e678dcbf2865087a22959475ee24fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Mon, 29 Jan 2018 20:58:11 -0800 Subject: [PATCH] Enable debug mode for integration tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 40543e87..3076bace 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ integration-test: DATABASE_URL=$(DB_URL) go run main.go -migrate DATABASE_URL=$(DB_URL) ADMIN_USERNAME=admin ADMIN_PASSWORD=test123 go run main.go -create-admin go build -o miniflux-test main.go - DATABASE_URL=$(DB_URL) ./miniflux-test >/tmp/miniflux.log 2>&1 & echo "$$!" > "/tmp/miniflux.pid" + DATABASE_URL=$(DB_URL) ./miniflux-test -debug >/tmp/miniflux.log 2>&1 & echo "$$!" > "/tmp/miniflux.pid" while ! echo exit | nc localhost 8080; do sleep 1; done >/dev/null go test -v -tags=integration || cat /tmp/miniflux.log