File: run_tests.sh

package info (click to toggle)
rust-vec-strings 0.4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: sh: 13; makefile: 2
file content (22 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

set -euxo pipefail

cd "$(dirname "$(realpath "$0")")"

export RUST_TEST_THREADS=1

rep=$(seq 1 3)

for _ in $rep; do
    cargo nextest run --all-features --nocapture
done

export RUSTFLAGS='-Zsanitizer=address'
export RUSTDOCFLAGS="$RUSTFLAGS"
for _ in $rep; do
    cargo +nightly nextest run --all-features --nocapture
done

#export MIRIFLAGS="-Zmiri-disable-isolation"
exec cargo +nightly miri nextest run --all-features --nocapture