build: add verify check on make test (#4901)

This patch adds basic tests for FS/XL/Distribute setups.
This commit is contained in:
Bala FA
2017-09-12 16:56:33 -07:00
committed by Dee Koder
parent 42b3795304
commit 1bb3a03099
3 changed files with 276 additions and 3 deletions

View File

@@ -56,10 +56,12 @@ spelling:
# Builds minio, runs the verifiers then runs the tests.
check: test
test: verifiers build
@echo "Running all minio testing"
@echo "Running unit tests"
@go test $(GOFLAGS) .
@go test $(GOFLAGS) github.com/minio/minio/cmd...
@go test $(GOFLAGS) github.com/minio/minio/pkg...
@echo "Verifying build"
@(env bash $(PWD)/buildscripts/verify-build.sh)
coverage: build
@echo "Running all coverage for minio"