Skip to content

Commit bcf1a4c

Browse files
author
Miguel Molina
committed
Fix makefile
1 parent ac516ae commit bcf1a4c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@ COVERAGE_MODE := atomic
44

55
test:
66
@echo "mode: $(COVERAGE_MODE)" > $(COVERAGE_REPORT); \
7-
go test . -coverprofile=$(COVERAGE_PROFILE) -covermode=${COVERAGE_MODE); \
8-
if [ $$? != 0 ]; then \
9-
exit 2; \
10-
fi; \
117
if [ -f $(COVERAGE_PROFILE) ]; then \
128
tail -n +2 $(COVERAGE_PROFILE) >> $(COVERAGE_REPORT); \
139
rm $(COVERAGE_PROFILE); \
1410
fi; \
15-
for dir in `find ./generator -name "*.go" | grep -o '.*/' | sort -u`; do \
11+
for dir in `find . -name "*.go" | grep -o '.*/' | sort -u`; do \
1612
go test $$dir -coverprofile=$(COVERAGE_PROFILE) -covermode=$(COVERAGE_MODE); \
1713
if [ $$? != 0 ]; then \
1814
exit 2; \

0 commit comments

Comments
 (0)