@@ -156,15 +156,15 @@ test-race: run-tests
156156
157157test-evmd : ARGS=-timeout=15m
158158test-evmd :
159- @cd evmd && go test -count=1 -race - tags=test -mod=readonly $(ARGS ) $(EXTRA_ARGS ) $(PACKAGES_EVMD )
159+ @cd evmd && go test -count=1 -tags=test -mod=readonly $(ARGS ) $(EXTRA_ARGS ) $(PACKAGES_EVMD )
160160
161161test-unit-cover : ARGS=-timeout=15m -coverprofile=coverage.txt -covermode=atomic
162162test-unit-cover : TEST_PACKAGES=$(PACKAGES_UNIT )
163163test-unit-cover : run-tests
164164 @echo " 🔍 Running evm (root) coverage..."
165- @go test -race - tags=test $(COMMON_COVER_ARGS ) -coverpkg=$(COVERPKG_ALL ) -coverprofile=coverage.txt ./...
165+ @go test -tags=test $(COMMON_COVER_ARGS ) -coverpkg=$(COVERPKG_ALL ) -coverprofile=coverage.txt ./...
166166 @echo " 🔍 Running evmd coverage..."
167- @cd evmd && go test -race - tags=test $(COMMON_COVER_ARGS ) -coverpkg=$(COVERPKG_ALL ) -coverprofile=coverage_evmd.txt ./...
167+ @cd evmd && go test -tags=test $(COMMON_COVER_ARGS ) -coverpkg=$(COVERPKG_ALL ) -coverprofile=coverage_evmd.txt ./...
168168 @echo " 🔀 Merging evmd coverage into root coverage..."
169169 @tail -n +2 evmd/coverage_evmd.txt >> coverage.txt && rm evmd/coverage_evmd.txt
170170 @echo " 🧹 Filtering ignored files from coverage.txt..."
@@ -174,15 +174,15 @@ test: test-unit
174174
175175test-all :
176176 @echo " 🔍 Running evm module tests..."
177- @go test -race - tags=test -mod=readonly -timeout=15m $(PACKAGES_NOSIMULATION )
177+ @go test -tags=test -mod=readonly -timeout=15m $(PACKAGES_NOSIMULATION )
178178 @echo " 🔍 Running evmd module tests..."
179- @cd evmd && go test -race - tags=test -mod=readonly -timeout=15m $(PACKAGES_EVMD )
179+ @cd evmd && go test -tags=test -mod=readonly -timeout=15m $(PACKAGES_EVMD )
180180
181181run-tests :
182182ifneq (,$(shell which tparse 2>/dev/null) )
183- go test -count=1 -race - tags=test -mod=readonly -json $(ARGS) $(EXTRA_ARGS) $(TEST_PACKAGES) | tparse
183+ go test -count=1 -tags=test -mod=readonly -json $(ARGS) $(EXTRA_ARGS) $(TEST_PACKAGES) | tparse
184184else
185- go test -count=1 -race - tags=test -mod=readonly $(ARGS) $(EXTRA_ARGS) $(TEST_PACKAGES)
185+ go test -count=1 -tags=test -mod=readonly $(ARGS) $(EXTRA_ARGS) $(TEST_PACKAGES)
186186endif
187187
188188# Use the old Apple linker to workaround broken xcode - https://github.com/golang/go/issues/65169
@@ -191,11 +191,11 @@ ifeq ($(OS_FAMILY),Darwin)
191191endif
192192
193193test-fuzz :
194- go test -race - tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzMintCoins ./x/precisebank/keeper
195- go test -race - tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzBurnCoins ./x/precisebank/keeper
196- go test -race - tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzSendCoins ./x/precisebank/keeper
197- go test -race - tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzGenesisStateValidate_NonZeroRemainder ./x/precisebank/types
198- go test -race - tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzGenesisStateValidate_ZeroRemainder ./x/precisebank/types
194+ go test -tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzMintCoins ./x/precisebank/keeper
195+ go test -tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzBurnCoins ./x/precisebank/keeper
196+ go test -tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzSendCoins ./x/precisebank/keeper
197+ go test -tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzGenesisStateValidate_NonZeroRemainder ./x/precisebank/types
198+ go test -tags=test $(FUZZLDFLAGS ) -run NOTAREALTEST -v -fuzztime 10s -fuzz=FuzzGenesisStateValidate_ZeroRemainder ./x/precisebank/types
199199
200200test-scripts :
201201 @echo " Running scripts tests"
@@ -208,7 +208,7 @@ test-solidity:
208208.PHONY : run-tests test test-all $(TEST_TARGETS )
209209
210210benchmark :
211- @go test -race - tags=test -mod=readonly -bench=. $(PACKAGES_NOSIMULATION )
211+ @go test -tags=test -mod=readonly -bench=. $(PACKAGES_NOSIMULATION )
212212
213213.PHONY : benchmark
214214
0 commit comments