Changed test rule in Makefile to use specific tests

This commit is contained in:
David Allen 2024-09-12 12:13:59 -06:00
parent dd7bb5ec77
commit 997b7710b8
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC

View file

@ -83,7 +83,9 @@ lint: ## golangci-lint
.PHONY: test .PHONY: test
test: ## go test test: ## go test
$(call print-target) $(call print-target)
go test -race -covermode=atomic -coverprofile=coverage.out -coverpkg=./... ./... ./emulator/setup.sh &
sleep 10
go test -race -covermode=atomic -coverprofile=coverage.out -coverpkg=./... tests/api_test.go tests/compatibility_test.go
go tool cover -html=coverage.out -o coverage.html go tool cover -html=coverage.out -o coverage.html
.PHONY: diff .PHONY: diff