We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac516ae commit bcf1a4cCopy full SHA for bcf1a4c
Makefile
@@ -4,15 +4,11 @@ COVERAGE_MODE := atomic
4
5
test:
6
@echo "mode: $(COVERAGE_MODE)" > $(COVERAGE_REPORT); \
7
- go test . -coverprofile=$(COVERAGE_PROFILE) -covermode=${COVERAGE_MODE); \
8
- if [ $$? != 0 ]; then \
9
- exit 2; \
10
- fi; \
11
if [ -f $(COVERAGE_PROFILE) ]; then \
12
tail -n +2 $(COVERAGE_PROFILE) >> $(COVERAGE_REPORT); \
13
rm $(COVERAGE_PROFILE); \
14
fi; \
15
- for dir in `find ./generator -name "*.go" | grep -o '.*/' | sort -u`; do \
+ for dir in `find . -name "*.go" | grep -o '.*/' | sort -u`; do \
16
go test $$dir -coverprofile=$(COVERAGE_PROFILE) -covermode=$(COVERAGE_MODE); \
17
if [ $$? != 0 ]; then \
18
exit 2; \
0 commit comments