This repository was archived by the owner on Jul 15, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 6161 export PATH="$GOBIN:$PATH"
6262 bash tests/test_app/test.sh
6363
64+ # XXX: if this test fails, fix it and update the docs at:
65+ # https://github.com/tendermint/tendermint/blob/develop/docs/abci-cli.rst
66+ test_cli :
67+ << : *defaults
68+ steps :
69+ - attach_workspace :
70+ at : /tmp/workspace
71+ - restore_cache :
72+ key : v1-pkg-cache
73+ - restore_cache :
74+ key : v1-tree-{{ .Environment.CIRCLE_SHA1 }}
75+ - run :
76+ name : Run cli tests
77+ command : |
78+ export PATH="$GOBIN:$PATH"
79+ bash tests/test_cli/test.sh
80+
6481 test_cover :
6582 << : *defaults
6683 parallelism : 4
@@ -114,6 +131,9 @@ workflows:
114131 - test_apps :
115132 requires :
116133 - setup_dependencies
134+ - test_cli :
135+ requires :
136+ - setup_dependencies
117137 - upload_coverage :
118138 requires :
119139 - test_cover
Original file line number Diff line number Diff line change @@ -90,7 +90,11 @@ test_apps:
9090 @ bash tests/test_app/test.sh
9191
9292test_cli :
93- # test the cli against the examples in the tutorial at tendermint.com
93+ # test the cli against the examples in the tutorial at:
94+ # http://tendermint.readthedocs.io/projects/tools/en/master/abci-cli.html
95+ #
96+ # XXX: if this test fails, fix it and update the docs at:
97+ # https://github.com/tendermint/tendermint/blob/develop/docs/abci-cli.rst
9498 @ bash tests/test_cli/test.sh
9599
96100# #######################################
Original file line number Diff line number Diff line change 1010
1111> commit
1212-> code: OK
13+ -> data.hex: 0x0000000000000000
1314
1415> deliver_tx "abc"
1516-> code: OK
2122
2223> commit
2324-> code: OK
24- -> data.hex: 0x49DFD15CCDACDEAE9728CB01FBB5E8688CA58B91
25+ -> data.hex: 0x0200000000000000
2526
2627> query "abc"
2728-> code: OK
3536
3637> commit
3738-> code: OK
38- -> data.hex: 0x70102DB32280373FBF3F9F89DA2A20CE2CD62B0B
39+ -> data.hex: 0x0400000000000000
3940
4041> query "def"
4142-> code: OK
Original file line number Diff line number Diff line change 11> set_option serial on
22-> code: OK
3+ -> log: OK (SetOption doesn't return anything.)
34
45> check_tx 0x00
56-> code: OK
You can’t perform that action at this time.
0 commit comments