summaryrefslogtreecommitdiff
path: root/src/hub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/Makefile')
-rw-r--r--src/hub/Makefile7
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