openethereum/test.sh

30 lines
416 B
Bash
Raw Normal View History

2016-02-16 11:12:29 +01:00
#!/bin/sh
2017-09-12 09:15:37 +02:00
# Running Parity Full Test Suite
2016-02-16 11:12:29 +01:00
2016-10-18 16:36:43 +02:00
FEATURES="json-tests"
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
;;
--no-run)
OPTIONS="--no-run"
shift
;;
2016-07-11 18:17:54 +02:00
*)
# unknown option
;;
esac
set -e
./scripts/validate_chainspecs.sh
2017-08-28 15:22:59 +02:00
cargo test -j 8 $OPTIONS --features "$FEATURES" --all --exclude evmjit $1