From fe0e13dd6b0b8be4a924f25f6f3ce8bbf55f335a Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Sat, 22 Nov 2014 21:11:40 -0500 Subject: [PATCH 1/2] add missing deps --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 076e18e4b..fa1919643 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ Dependencies * go1.3.3 * godep * go get github.com/tools/godep +* yasm +* cover + * go get code.google.com/p/go.tools/cmd/cover or yum install golang-cover Dependency management ===================== From 5047c055f612489b46095f364dc4c204d168ae91 Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Sat, 22 Nov 2014 21:13:56 -0500 Subject: [PATCH 2/2] stop requiring a cover directory it is not automatically created. instead, store coverage output in the current directory. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 844163a91..077bf5274 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ build-erasure: test: build-erasure - godep go test -race -coverprofile=cover/cover.out github.com/minio-io/minio + godep go test -race -coverprofile=cover.out github.com/minio-io/minio install: build-erasure @@ -24,4 +24,4 @@ run: all minio gateway cover: test - go tool cover -html=cover/cover.out + go tool cover -html=cover.out