Merge pull request #508 from i1skn/test-tools-remove

Remove tools/test.sh and replace it with cargo test --all
This commit is contained in:
Svyatoslav Nikolsky 2018-05-10 14:28:45 +03:00 committed by GitHub
commit edcf76bda4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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