Skip to content

Commit

Permalink
Start system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed May 18, 2023
1 parent f3f69a6 commit d1de8fe
Show file tree
Hide file tree
Showing 15 changed files with 3,910 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ distclean: clean
########################################
### Testing


test: test-unit
test-all: check test-race test-cover
test-all: check test-race test-cover test-system

test-unit:
@VERSION=$(VERSION) go test -mod=readonly -tags='ledger test_ledger_mock' ./...
Expand All @@ -152,6 +151,9 @@ test-sim-deterministic: runsim
@echo "Running short multi-seed application simulation. This may take awhile!"
@$(BINDIR)/runsim -Jobs=4 -SimAppPkg=$(SIMAPP) -ExitOnFail 1 1 TestAppStateDeterminism

test-system: install
@VERSION=$(VERSION) cd tests/system; go test -mod=readonly -failfast -tags='system_test' ./... --wait-time=45s --verbose; cd -

###############################################################################
### Linting ###
###############################################################################
Expand Down Expand Up @@ -201,3 +203,4 @@ proto-check-breaking:
go-mod-cache draw-deps clean build format \
test test-all test-build test-cover test-unit test-race \
test-sim-import-export build-windows-client \
test-system
4 changes: 3 additions & 1 deletion cmd/wasmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import (
"io"
"os"

banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"

rosettaCmd "cosmossdk.io/tools/rosetta/cmd"
dbm "github.com/cometbft/cometbft-db"
tmcfg "github.com/cometbft/cometbft/config"
Expand Down Expand Up @@ -148,7 +150,7 @@ func initAppConfig() (string, interface{}) {
func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
rootCmd.AddCommand(
genutilcli.InitCmd(app.ModuleBasics, app.DefaultNodeHome),
// testnetCmd(app.ModuleBasics, banktypes.GenesisBalancesIterator{}),
NewTestnetCmd(app.ModuleBasics, banktypes.GenesisBalancesIterator{}),
debug.Cmd(),
config.Cmd(),
pruning.PruningCmd(newApp),
Expand Down
Loading

0 comments on commit d1de8fe

Please sign in to comment.