openethereum/test.sh
2017-07-16 11:30:58 +02:00

27 lines
384 B
Bash
Executable File

#!/bin/sh
# Running Parity Full Test Sute
FEATURES="json-tests"
OPTIONS="--release"
case $1 in
--no-json)
FEATURES="ipc"
shift # past argument=value
;;
--no-release)
OPTIONS=""
shift
;;
--no-run)
OPTIONS="--no-run"
shift
;;
*)
# unknown option
;;
esac
. ./scripts/targets.sh
cargo test -j 8 $OPTIONS --features "$FEATURES" $TARGETS $1 \