Enable cover profile and test for split and strbyteconv

master
Harshavardhana 10 years ago
parent c002f90e0b
commit a4676211cf
  1. 7
      Makefile
  2. 11
      pkgs/strbyteconv/Makefile

@ -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

@ -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
Loading…
Cancel
Save