#! /usr/bin/env bash export RUST_BACKTRACE=full export RUSTFLAGS=-g exec > $1 exec 2>&1 set -o xtrace exec_prg() { for i in {0..5}; do date; time cargo +nightly test --release -- --nocapture || exit $? date; time cargo +nightly test -- --nocapture || exit $? date; time cargo +nightly test --features=compact --release -- --nocapture || exit $? date; time cargo +nightly test --features=compact -- --nocapture || exit $? # repeat this for stable, once package is ready for stable. done } exec_prg