aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/run_tests.sh
blob: 66fd94edebc859e2e6c0e3745a8fb6e2fd19aa45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -e

srcdir="$(dirname "$0")"
[ "$(echo "$srcdir" | cut -c1)" = '/' ] || srcdir="$PWD/$srcdir"

srcdir="$srcdir/.."


cd "$srcdir"
echo Running std tests...
cargo test
echo Running std/fastfloat tests...
cargo test --features fastfloat
echo Running no_std tests...
cargo test --tests --no-default-features
echo Running no_std/fastfloat tests...
cargo test --tests --no-default-features --features fastfloat
bues.ch cgit interface