0c7c34e609
* chainspec validation * better error formatting for chainspec * lint validate_chainspecs.sh * quit takes &str instead of S: AsRef<str> * push CI * don't double check spec validity
30 lines
441 B
Bash
Executable File
30 lines
441 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
|
|
|
|
set -e
|
|
|
|
./scripts/validate_chainspecs.sh
|
|
|
|
cargo test -j 8 $OPTIONS --features "$FEATURES" --all --exclude parity-ipfs-api --exclude evmjit $1
|