diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-04-22 01:24:40 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-04-22 01:24:40 +0200 |
commit | edfa8ee1607681bcf3d6c175c950264de5c8e2d6 (patch) | |
tree | 50f19ad847d23c3cf1abd6055bfaea62e75a12b2 /src/hub/Makefile | |
parent | make hostname last url element for piwik forwarding (diff) |
added store benchmarking
Diffstat (limited to 'src/hub/Makefile')
-rw-r--r-- | src/hub/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/hub/Makefile b/src/hub/Makefile index 9868708..26a3fce 100644 --- a/src/hub/Makefile +++ b/src/hub/Makefile @@ -35,8 +35,6 @@ GOCMD := GOPATH=$(curdir) go ifdef GOROOT GOCMD := GOPATH=$(curdir) $(GOROOT)/bin/go endif -#TESTFLAG := -test.v -TESTFLAG := EXECUTEABLE := sfive-hub @@ -79,8 +77,11 @@ build: getlibs test: getlibs @echo "testing: sfive" - @$(GOCMD) test $(TESTFLAG) spreadspace.org/sfive + @$(GOCMD) test spreadspace.org/sfive +bench: getlibs + @echo "testing and benchmarking: sfive" + @$(GOCMD) test -bench=. spreadspace.org/sfive clean: rm -rf pkg/*/spreadspace.org |