tendermint/tests/test_app/test.sh

18 lines
502 B
Bash
Raw Normal View History

2016-07-23 15:54:58 -07:00
#! /bin/bash
set -e
2017-01-12 12:47:55 -08:00
# These tests spawn the counter app and server by execing the ABCI_APP command and run some simple client tests against it
2016-07-23 15:54:58 -07:00
2017-01-12 12:47:55 -08:00
ROOT=$GOPATH/src/github.com/tendermint/abci/tests/test_app
2016-07-23 15:54:58 -07:00
cd $ROOT
# test golang counter
2017-01-12 12:47:55 -08:00
ABCI_APP="counter" go run *.go
2016-07-23 15:54:58 -07:00
# test golang counter via grpc
2017-01-12 12:47:55 -08:00
ABCI_APP="counter -abci=grpc" ABCI="grpc" go run *.go
2016-07-23 15:54:58 -07:00
# test nodejs counter
# TODO: fix node app
2017-01-12 12:47:55 -08:00
#ABCI_APP="node $GOPATH/src/github.com/tendermint/js-abci/example/app.js" go test -test.run TestCounter