test(system): Introduce system tests - initial version heavily inspired by wasmd (#20013)

This commit is contained in:
Alexander Peters
2024-04-30 12:54:57 +00:00
committed by GitHub
parent abb2994a8f
commit 3d1925d476
18 changed files with 3333 additions and 3 deletions
+11
View File
@@ -13,6 +13,10 @@ HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git
DOCKER := $(shell which docker)
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)
ifeq ($(findstring .,$(VERSION)),)
VERSION := 0.0.0
endif
# process build tags
build_tags = netgo
ifeq ($(LEDGER_ENABLED),true)
@@ -214,6 +218,13 @@ test-integration-cov:
#? test-all: Run all test
test-all: test-unit test-e2e test-integration test-ledger-mock test-race
.PHONY: test-system
test-system: build
mkdir -p ./systemtests/binaries/
cp $(BUILDDIR)/simd ./systemtests/binaries/
$(MAKE) -C systemtests test
TEST_PACKAGES=./...
TEST_TARGETS := test-unit test-unit-amino test-unit-proto test-ledger-mock test-race test-ledger test-race