Move the tests into basecoin examples
This commit is contained in:
@@ -37,7 +37,6 @@ test_unit:
|
||||
@go test `glide novendor`
|
||||
|
||||
test_cli: $(TEST_EXAMPLES)
|
||||
./tests/cli/init-server.sh
|
||||
# sudo apt-get install jq
|
||||
# wget "https://raw.githubusercontent.com/kward/shunit2/master/source/2.1/src/shunit2"
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ test_cli:
|
||||
./tests/cli/keys.sh
|
||||
./tests/cli/rpc.sh
|
||||
./tests/cli/init.sh
|
||||
./tests/cli/init-server.sh
|
||||
./tests/cli/basictx.sh
|
||||
./tests/cli/roles.sh
|
||||
./tests/cli/restart.sh
|
||||
|
||||
@@ -38,6 +38,8 @@ oneTimeTearDown() {
|
||||
}
|
||||
|
||||
# load and run these tests with shunit2!
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #get this files directory
|
||||
CLI_DIR=$GOPATH/src/github.com/cosmos/cosmos-sdk/tests/cli
|
||||
|
||||
. $CLI_DIR/common.sh
|
||||
. $CLI_DIR/shunit2
|
||||
Reference in New Issue
Block a user