Store shunit2 in the repo, no dangerous wget each test
This commit is contained in:
parent
ce46642aa0
commit
d22c08b12a
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,5 @@ vendor
|
||||
.vagrant
|
||||
merkleeyes.db
|
||||
build
|
||||
shunit2
|
||||
docs/guide/*.sh
|
||||
keys/
|
||||
|
||||
13
Makefile
13
Makefile
@ -33,8 +33,9 @@ test_unit:
|
||||
@go test `glide novendor`
|
||||
#go run tests/tendermint/*.go
|
||||
|
||||
test_cli: tests/cli/shunit2
|
||||
test_cli:
|
||||
# sudo apt-get install jq
|
||||
# wget "https://raw.githubusercontent.com/kward/shunit2/master/source/2.1/src/shunit2"
|
||||
./tests/cli/keys.sh
|
||||
./tests/cli/rpc.sh
|
||||
./tests/cli/init.sh
|
||||
@ -48,20 +49,12 @@ test_cli: tests/cli/shunit2
|
||||
cd $$EX && make test_cli; \
|
||||
done
|
||||
|
||||
test_tutorial: docs/guide/shunit2
|
||||
test_tutorial:
|
||||
@shelldown ${TUTORIALS}
|
||||
@for script in docs/guide/*.sh ; do \
|
||||
bash $$script ; \
|
||||
done
|
||||
|
||||
tests/cli/shunit2:
|
||||
@wget "https://raw.githubusercontent.com/kward/shunit2/master/source/2.1/src/shunit2" \
|
||||
-q -O tests/cli/shunit2
|
||||
|
||||
docs/guide/shunit2:
|
||||
@wget "https://raw.githubusercontent.com/kward/shunit2/master/source/2.1/src/shunit2" \
|
||||
-q -O docs/guide/shunit2
|
||||
|
||||
get_vendor_deps: tools
|
||||
@glide install
|
||||
|
||||
|
||||
1067
docs/guide/shunit2
Normal file
1067
docs/guide/shunit2
Normal file
File diff suppressed because it is too large
Load Diff
1067
tests/cli/shunit2
Normal file
1067
tests/cli/shunit2
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user