Merge pull request #70 from harshavardhana/pr_out_enable_cover_profile_and_test_for_split_and_strbyteconv

Enable cover profile and test for split and strbyteconv
This commit is contained in:
Harshavardhana 2014-12-01 10:58:34 -08:00
commit c2b52590ee
2 changed files with 16 additions and 2 deletions

View File

@ -13,8 +13,11 @@ build-erasure:
build-signify:
@cd pkgs/signify && ${MAKE} ${MAKE_OPTIONS}
build-split:
@cd pkgs/split && ${MAKE} ${MAKE_OPTIONS}
build-split: build-strbyteconv
@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
@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