Remove tools/test.sh and replace it with cargo test --all

This commit is contained in:
Ivan Sorokin 2018-05-10 12:45:51 +02:00
parent 487d2539cb
commit 4eb5de1754
4 changed files with 5 additions and 27 deletions

View File

@ -21,8 +21,8 @@ linux-stable-test:
- master
script:
- rustup default stable
- echo 'Running tests from /tools/test.sh' && echo -en 'gitlab_fold:start:tests'
- ./tools/test.sh
- echo 'Running tests' && echo -en 'gitlab_fold:start:tests'
- cargo test --all
- echo -en 'gitlab_fold:end:tests'
tags:
- rust

View File

@ -25,8 +25,8 @@ addons:
- g++-4.8
- oracle-java8-set-default
script:
- echo 'Running tests from /tools/test.sh' && echo -en 'travis_fold:start:tests'
- ./tools/test.sh
- echo 'Running tests' && echo -en 'travis_fold:start:tests'
- cargo test --all
- echo -en 'travis_fold:end:tests'
- echo 'Building in release mode' && echo -en 'travis_fold:start:build.release'
- cargo build --release

View File

@ -96,7 +96,7 @@ sudo snap install parity-bitcoin --edge
Assuming that repository is already cloned, we can run unit tests with this command:
```
./tools/test.sh
cargo test --all
```
#### Running external integration tests

View File

@ -1,22 +0,0 @@
#!/bin/bash
cargo test\
-p bitcrypto\
-p chain\
-p db\
-p import\
-p keys\
-p message\
-p miner\
-p network\
-p pbtc\
-p p2p\
-p primitives\
-p rpc\
-p script\
-p serialization\
-p serialization_derive\
-p storage\
-p sync\
-p test-data\
-p verification