make: Make test-compile module-aware

This commit is contained in:
Radek Simko 2019-02-01 13:18:51 +00:00
parent 70eeec8083
commit 357dcc924f
No known key found for this signature in database
GPG Key ID: 1F1C84FE689A88D7
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ test-compile: fmtcheck generate
echo " make test-compile TEST=./builtin/providers/test"; \
exit 1; \
fi
go test -c $(TEST) $(TESTARGS)
go test -mod=vendor -c $(TEST) $(TESTARGS)
# testrace runs the race checker
testrace: fmtcheck generate