Skip to content

Commit 90c871e

Browse files
authored
Updates makefile to handle missing the LC_UUID command and dydl errors when running make (#2774)
1 parent 9fceeda commit 90c871e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ lint:
2424
golangci-lint run ./...
2525

2626
test:
27-
go test ./...
27+
CGO_ENABLED=0 go test ./...
2828
# commenting this out for release tooling, please run testacc instead
2929

3030
testacc: fmtcheck
31-
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
31+
TF_ACC=1 CGO_ENABLED=0 go test $(TEST) -v $(TESTARGS) -timeout 120m
3232

3333
test-compile:
3434
@if [ "$(TEST)" = "./..." ]; then \
3535
echo "ERROR: Set TEST to a specific package. For example,"; \
3636
echo " make test-compile TEST=./$(PKG_NAME)"; \
3737
exit 1; \
3838
fi
39-
go test -c $(TEST) $(TESTARGS)
39+
CGO_ENABLED=0 go test -c $(TEST) $(TESTARGS)
4040

4141
vet:
4242
@echo "go vet ."

0 commit comments

Comments
 (0)