Skip to content
This repository was archived by the owner on Jul 15, 2018. It is now read-only.

Commit 6e3191f

Browse files
authored
Merge branch 'develop' into bucky/no-gogo
2 parents 21951dd + bcfdd6d commit 6e3191f

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,23 @@ jobs:
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

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ test_apps:
9090
@ bash tests/test_app/test.sh
9191

9292
test_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
########################################

tests/test_cli/ex1.abci.out

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
> commit
1212
-> code: OK
13+
-> data.hex: 0x0000000000000000
1314

1415
> deliver_tx "abc"
1516
-> code: OK
@@ -21,7 +22,7 @@
2122

2223
> commit
2324
-> code: OK
24-
-> data.hex: 0x49DFD15CCDACDEAE9728CB01FBB5E8688CA58B91
25+
-> data.hex: 0x0200000000000000
2526

2627
> query "abc"
2728
-> code: OK
@@ -35,7 +36,7 @@
3536

3637
> commit
3738
-> code: OK
38-
-> data.hex: 0x70102DB32280373FBF3F9F89DA2A20CE2CD62B0B
39+
-> data.hex: 0x0400000000000000
3940

4041
> query "def"
4142
-> code: OK

tests/test_cli/ex2.abci.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
> set_option serial on
22
-> code: OK
3+
-> log: OK (SetOption doesn't return anything.)
34

45
> check_tx 0x00
56
-> code: OK

0 commit comments

Comments
 (0)