openethereum/test.sh

24 lines
342 B
Bash
Raw Normal View History

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