added new libraries: ethkey and ethstore to cov.sh, doc.sh and test.sh

This commit is contained in:
debris 2016-06-20 10:13:14 +02:00
parent 03cd1c0494
commit ca35f116a6
3 changed files with 9 additions and 1 deletions

6
cov.sh
View File

@ -16,6 +16,8 @@ if ! type kcov > /dev/null; then
fi fi
cargo test \ cargo test \
-p ethkey \
-p ethstore \
-p ethash \ -p ethash \
-p ethcore-util \ -p ethcore-util \
-p ethcore \ -p ethcore \
@ -28,7 +30,9 @@ cargo test \
rm -rf target/coverage rm -rf target/coverage
mkdir -p target/coverage mkdir -p target/coverage
EXCLUDE="~/.multirust,rocksdb,secp256k1,src/tests,util/json-tests,util/src/network/tests,sync/src/tests,ethcore/src/tests,ethcore/src/evm/tests" EXCLUDE="~/.multirust,rocksdb,secp256k1,src/tests,util/json-tests,util/src/network/tests,sync/src/tests,ethcore/src/tests,ethcore/src/evm/tests,ethstore/tests"
kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethkey-*
kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethstore-*
kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethcore-* kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethcore-*
kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethash-* kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethash-*
kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethcore_util-* kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethcore_util-*

2
doc.sh
View File

@ -2,6 +2,8 @@
# generate documentation only for partiy and ethcore libraries # generate documentation only for partiy and ethcore libraries
cargo doc --no-deps --verbose \ cargo doc --no-deps --verbose \
-p ethkey \
-p ethstore \
-p ethash \ -p ethash \
-p ethcore-util \ -p ethcore-util \
-p ethcore \ -p ethcore \

View File

@ -2,6 +2,8 @@
# Running Parity Full Test Sute # Running Parity Full Test Sute
cargo test --features ethcore/json-tests $1 \ cargo test --features ethcore/json-tests $1 \
-p ethkey \
-p ethstore \
-p ethash \ -p ethash \
-p ethcore-util \ -p ethcore-util \
-p ethcore \ -p ethcore \