From 1ff58dd9ccc9fca93160491d45f555a09f804df3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 30 Apr 2017 05:05:38 +0200 Subject: added coverage test and some cleanup --- src/hub/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/hub/Makefile') diff --git a/src/hub/Makefile b/src/hub/Makefile index dd77ded..daf06ef 100644 --- a/src/hub/Makefile +++ b/src/hub/Makefile @@ -80,6 +80,11 @@ bench: getlibs @echo "testing and benchmarking: sfive" @$(GOCMD) test -bench=. spreadspace.org/sfive +cover: getlibs + @echo "testing and benchmarking: sfive" + @$(GOCMD) test -coverprofile=coverage.out spreadspace.org/sfive + @$(GOCMD) tool cover -html=coverage.out + clean: rm -rf pkg/*/spreadspace.org rm -rf bin -- cgit v1.2.3