Skip to content
Permalink
Browse files

Change shell to default(sh) and remove vtest

* Remove vtest because it's not used and because
  the output was using a bash shell feature.
  • Loading branch information...
dopey committed Sep 17, 2019
1 parent 0a0e9cf commit 71ee01bbfa698835c9bfac73458a95113181abef
Showing with 1 addition and 13 deletions.
  1. +1 −13 make/common.mk
@@ -8,9 +8,6 @@ SRC=$(shell find . -type f -name '*.go' -not -path "./vendor/*")
GOOS_OVERRIDE ?=
OUTPUT_ROOT=output/

# Set shell to bash for `echo -e`
SHELL := /bin/bash

.PHONY: all

#########################################
@@ -91,16 +88,7 @@ generate:
test:
$Q $(GOFLAGS) go test -short -coverprofile=coverage.out ./...

vtest:
$(Q)for d in $$(go list ./... | grep -v vendor); do \
echo -e "TESTS FOR: for \033[0;35m$$d\033[0m"; \
$(GOFLAGS) go test -v -bench=. -run=. -short -coverprofile=vcoverage.out $$d; \
out=$$?; \
if [[ $$out -ne 0 ]]; then ret=$$out; fi;\
rm -f profile.coverage.out; \
done; exit $$ret;

.PHONY: test vtest
.PHONY: test

integrate: integration

0 comments on commit 71ee01b

Please sign in to comment.
You can’t perform that action at this time.