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:
commit
edcf76bda4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue