2016-02-16 11:12:29 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# Running Parity Full Test Sute
|
|
|
|
|
2016-07-11 18:17:54 +02:00
|
|
|
FEATURES="--features ethcore/json-tests"
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
--no-json)
|
|
|
|
FEATURES=""
|
|
|
|
shift # past argument=value
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
# unknown option
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
. ./scripts/targets.sh
|
2016-07-13 17:19:51 +02:00
|
|
|
cargo test --no-default-features $FEATURES $TARGETS $1 \
|
2016-07-11 18:17:54 +02:00
|
|
|
|