13 lines
375 B
Bash
13 lines
375 B
Bash
|
#!/bin/bash
|
||
|
echo "________Running test-linux.sh________"
|
||
|
set -e # fail on any error
|
||
|
set -u # treat unset variables as error
|
||
|
|
||
|
FEATURES="json-tests"
|
||
|
OPTIONS="--release"
|
||
|
#use nproc `linux only
|
||
|
THREADS=$(nproc)
|
||
|
|
||
|
echo "________Running Parity Full Test Suite________"
|
||
|
time cargo test $OPTIONS --features "$FEATURES" --locked --all --target $CARGO_TARGET -- --test-threads $THREADS
|