mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-12-22 05:46:30 +00:00
Makefile: ensure tests are not parallel
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
9c8328e386
commit
711c1b0259
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -39,10 +39,10 @@ CLEAN_FILES += .test .test.tags
|
|||
NO_VENDOR_DIR := $(shell find . -type f -name '*.go' ! -path './vendor*' ! -path './.git*' ! -path './.vscode*' -exec dirname "{}" \; | sort -u)
|
||||
|
||||
.test: $(SOURCE_FILES)
|
||||
go test -v $(NO_VENDOR_DIR) && touch $@
|
||||
go test -p 1 -v $(NO_VENDOR_DIR) && touch $@
|
||||
|
||||
.test.tags: $(SOURCE_FILES)
|
||||
set -e ; for tag in $(TAGS) ; do go test -tags $$tag -v $(NO_VENDOR_DIR) ; done && touch $@
|
||||
set -e ; for tag in $(TAGS) ; do go test -p 1 -tags $$tag -v $(NO_VENDOR_DIR) ; done && touch $@
|
||||
|
||||
.PHONY: lint
|
||||
lint: .lint
|
||||
|
|
Loading…
Reference in a new issue