-
Notifications
You must be signed in to change notification settings - Fork 19
/
check.sh
executable file
·26 lines (20 loc) · 773 Bytes
/
check.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /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; cargo +nightly test --release -- --nocapture || exit $?;
date; cargo +nightly test -- --nocapture || exit $?;
date; cargo +nightly test --release --features cbordata -- --nocapture || exit $?;
date; cargo +nightly test --features cbordata -- --nocapture || exit $?;
date; cargo +stable test --release -- --nocapture || exit $?;
date; cargo +stable test -- --nocapture || exit $?;
date; cargo +stable test --release --features cbordata -- --nocapture || exit $?;
date; cargo +stable test --features cbordata -- --nocapture || exit $?;
done
}
exec_prg