Enable cover profile and test for split and strbyteconv

This commit is contained in:
Harshavardhana 2014-12-01 10:40:50 -08:00
parent c002f90e0b
commit a4676211cf
2 changed files with 16 additions and 2 deletions

View File

@ -13,8 +13,11 @@ build-erasure:
build-signify: build-signify:
@cd pkgs/signify && ${MAKE} ${MAKE_OPTIONS} @cd pkgs/signify && ${MAKE} ${MAKE_OPTIONS}
build-split: build-split: build-strbyteconv
@cd pkgs/split && ${MAKE} ${MAKE_OPTIONS} @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/split
build-strbyteconv:
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/strbyteconv
cover: build-erasure build-signify build-split cover: build-erasure build-signify build-split
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/storage @godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/storage

11
pkgs/strbyteconv/Makefile Normal file
View File

@ -0,0 +1,11 @@
all: build test
.PHONY: all
build:
@godep go build
test: build
@godep go test -race -coverprofile=cover.out
clean:
@rm -v cover.out