Remove tools/test.sh and replace it with cargo test --all
This commit is contained in:
parent
487d2539cb
commit
4eb5de1754
|
@ -21,8 +21,8 @@ linux-stable-test:
|
||||||
- master
|
- master
|
||||||
script:
|
script:
|
||||||
- rustup default stable
|
- rustup default stable
|
||||||
- echo 'Running tests from /tools/test.sh' && echo -en 'gitlab_fold:start:tests'
|
- echo 'Running tests' && echo -en 'gitlab_fold:start:tests'
|
||||||
- ./tools/test.sh
|
- cargo test --all
|
||||||
- echo -en 'gitlab_fold:end:tests'
|
- echo -en 'gitlab_fold:end:tests'
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
|
|
|
@ -25,8 +25,8 @@ addons:
|
||||||
- g++-4.8
|
- g++-4.8
|
||||||
- oracle-java8-set-default
|
- oracle-java8-set-default
|
||||||
script:
|
script:
|
||||||
- echo 'Running tests from /tools/test.sh' && echo -en 'travis_fold:start:tests'
|
- echo 'Running tests' && echo -en 'travis_fold:start:tests'
|
||||||
- ./tools/test.sh
|
- cargo test --all
|
||||||
- echo -en 'travis_fold:end:tests'
|
- echo -en 'travis_fold:end:tests'
|
||||||
- echo 'Building in release mode' && echo -en 'travis_fold:start:build.release'
|
- echo 'Building in release mode' && echo -en 'travis_fold:start:build.release'
|
||||||
- cargo 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:
|
Assuming that repository is already cloned, we can run unit tests with this command:
|
||||||
|
|
||||||
```
|
```
|
||||||
./tools/test.sh
|
cargo test --all
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Running external integration tests
|
#### 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