|
|
@ -131,7 +131,7 @@ clean_certs: |
|
|
|
rm -f db/remotedb/::.crt db/remotedb/::.key |
|
|
|
|
|
|
|
test_libs: gen_certs |
|
|
|
GOCACHE=off go test -tags gcc $(PACKAGES) |
|
|
|
go test -tags gcc $(PACKAGES) |
|
|
|
make clean_certs |
|
|
|
|
|
|
|
grpc_dbserver: |
|
|
@ -214,11 +214,11 @@ vagrant_test: |
|
|
|
### go tests
|
|
|
|
test: |
|
|
|
@echo "--> Running go test" |
|
|
|
@GOCACHE=off go test -p 1 $(PACKAGES) |
|
|
|
go test -p 1 $(PACKAGES) |
|
|
|
|
|
|
|
test_race: |
|
|
|
@echo "--> Running go test --race" |
|
|
|
@GOCACHE=off go test -p 1 -v -race $(PACKAGES) |
|
|
|
go test -p 1 -v -race $(PACKAGES) |
|
|
|
|
|
|
|
# uses https://github.com/sasha-s/go-deadlock/ to detect potential deadlocks
|
|
|
|
test_with_deadlock: |
|
|
|