From f961afe5c357350ab42df77bda0e35c63df24dca Mon Sep 17 00:00:00 2001 From: Ying Li Date: Fri, 23 Oct 2015 18:47:39 -0700 Subject: [PATCH] Do not run shortened tests in CI, since some codepaths are just unexercised. Signed-off-by: Ying Li --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 617a356d95..7c2818b1e9 100644 --- a/Makefile +++ b/Makefile @@ -90,13 +90,14 @@ gen-cover: @echo "mode: $(COVERMODE)" > "$(COVERPROFILE)" @grep -h -v "^mode:" "$(COVERDIR)"/*.cover >> "$(COVERPROFILE)" -cover: GO_EXC = go +cover: GO_EXC = godep go + OPTS = race cover: gen-cover @go tool cover -func="$(COVERPROFILE)" @go tool cover -html="$(COVERPROFILE)" -ci: OPTS = race test.short +ci: OPTS = race GO_EXC = godep go COVERPROFILE = coverage.out ci: gen-cover