aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-10-29 22:46:08 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-10-29 22:46:08 -0700
commit5ff06307265f773a39819d8229d7bc058f3bd7dc (patch)
treeeb605fbcd516da479f2e42804f1e98022f473b24
parent7d1b471d88fd18a914a5eb4ea8810994120aaf2c (diff)
Disable go test caching
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3af76e2..896fb19 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ clean:
@ rm -f $(APP)-*
test:
- go test -cover -race ./...
+ go test -cover -race -count=1 ./...
lint:
@ golint -set_exit_status ${PKG_LIST}
@@ -62,7 +62,7 @@ integration-test:
go build -o miniflux-test main.go
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 miniflux.app/tests || cat /tmp/miniflux.log
+ go test -v -tags=integration -count=1 miniflux.app/tests || cat /tmp/miniflux.log
clean-integration-test:
@ kill -9 `cat /tmp/miniflux.pid`