Revert "Do a build before the 'go test'"; it doesn't look like this goes faster after all

This reverts commit bd7e5d6921.
This commit is contained in:
Bryan Boreham committed 2016-06-05 14:56:05 +01:00
1 parent 5dd7590e5c
commit c6d1adf220
1 file changed
-1
-1
View File
@@ -92,7 +92,6 @@ else
$(WEAVER_EXE) $(WEAVEPROXY_EXE) $(PLUGIN_EXE):
ifeq ($(COVERAGE),true)
go build -v $(BUILD_FLAGS) -o $@ ./$(@D)
$(eval COVERAGE_MODULES := $(shell (go list ./$(@D); go list -f '{{join .Deps "\n"}}' ./$(@D) | grep "^$(PACKAGE_BASE)/") | grep -v "^$(PACKAGE_BASE)/vendor/" | paste -s -d,))
go test -c -o ./$@ $(BUILD_FLAGS) -v -covermode=atomic -coverpkg $(COVERAGE_MODULES) ./$(@D)/
else