1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-15 17:51:03 +00:00

Added VERBOSE flag for unit tests

This commit is contained in:
Ewout Prangsma 2018-03-01 16:10:20 +01:00
parent efd173ca0c
commit 1008507016
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -60,6 +60,9 @@ ifeq ($(LONG), 1)
TESTLENGTHOPTIONS :=
TESTTIMEOUT := 40m
endif
ifdef VERBOSE
TESTVERBOSEOPTIONS := -v
endif
SOURCES := $(shell find $(SRCDIR) -name '*.go' -not -path './test/*')
@ -165,7 +168,7 @@ run-unit-tests: $(GOBUILDDIR) $(SOURCES)
-e CGO_ENABLED=0 \
-w /usr/code/ \
golang:$(GOVERSION) \
go test -v \
go test $(TESTVERBOSEOPTIONS) \
$(REPOPATH)/pkg/apis/arangodb/v1alpha \
$(REPOPATH)/pkg/deployment \
$(REPOPATH)/pkg/util/k8sutil