You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
502 B

  1. #! /bin/bash
  2. set -e
  3. # These tests spawn the counter app and server by execing the TMSP_APP command and run some simple client tests against it
  4. ROOT=$GOPATH/src/github.com/tendermint/tmsp/tests/test_app
  5. cd $ROOT
  6. # test golang counter
  7. TMSP_APP="counter" go run *.go
  8. # test golang counter via grpc
  9. TMSP_APP="counter -tmsp=grpc" TMSP="grpc" go run *.go
  10. # test nodejs counter
  11. # TODO: fix node app
  12. #TMSP_APP="node $GOPATH/src/github.com/tendermint/js-tmsp/example/app.js" go test -test.run TestCounter