alway test --all (temporary exclude ipfs and evmjit)

This commit is contained in:
debris 2017-07-29 22:53:52 +02:00
parent c4989ddc44
commit 2b02651bbf
5 changed files with 4 additions and 32 deletions

View File

@ -20,8 +20,7 @@ if ! type $KCOV > /dev/null; then
exit 1 exit 1
fi fi
. ./scripts/targets.sh RUSTFLAGS="-C link-dead-code" cargo test --all --exclude ipfs --exclude evmjit --no-run || exit $?
RUSTFLAGS="-C link-dead-code" cargo test $TARGETS --no-run || exit $?
KCOV_TARGET="target/cov" KCOV_TARGET="target/cov"

View File

@ -1,7 +1,5 @@
#!/bin/sh #!/bin/sh
# generate documentation only for partiy and ethcore libraries # generate documentation only for partiy and ethcore libraries
. ./scripts/targets.sh cargo doc --no-deps --verbose --all --exclude ipfs --exclude evmjit &&
cargo doc --no-deps --verbose $TARGETS &&
echo '<meta http-equiv=refresh content=0;url=ethcore/index.html>' > target/doc/index.html echo '<meta http-equiv=refresh content=0;url=ethcore/index.html>' > target/doc/index.html

View File

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh
FILE=./.git/hooks/pre-push FILE=./.git/hooks/pre-push
. ./scripts/targets.sh
echo "#!/bin/sh\n" > $FILE echo "#!/bin/sh\n" > $FILE
# Exit on any error # Exit on any error
@ -8,7 +7,6 @@ echo "set -e" >> $FILE
# Run release build # Run release build
echo "cargo build --features dev" >> $FILE echo "cargo build --features dev" >> $FILE
# Build tests # Build tests
echo "cargo test --no-run --features dev \\" >> $FILE echo "cargo test --no-run --features dev --all --exclude ipfs --exclude evmjit" >> $FILE
echo $TARGETS >> $FILE
echo "" >> $FILE echo "" >> $FILE
chmod +x $FILE chmod +x $FILE

View File

@ -1,22 +0,0 @@
#!/bin/bash
export TARGETS="
-p rlp\
-p ethash \
-p ethcore \
-p ethcore-bigint\
-p parity-dapps \
-p parity-rpc \
-p parity-rpc-client \
-p rpc-cli \
-p ethcore-util \
-p ethcore-network \
-p ethcore-io \
-p ethkey \
-p ethstore \
-p ethsync \
-p ethcore-ipc \
-p ethcore-ipc-tests \
-p ethcore-ipc-nano \
-p ethcore-light \
-p parity"

View File

@ -22,5 +22,4 @@ case $1 in
;; ;;
esac esac
. ./scripts/targets.sh cargo test -j 8 $OPTIONS --features "$FEATURES" --all --exclude ipfs --exclude evmjit $1 \
cargo test -j 8 $OPTIONS --features "$FEATURES" $TARGETS $1 \