mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Added VERBOSE flag for unit tests
This commit is contained in:
parent
efd173ca0c
commit
1008507016
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue