-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathcoverage.sh
executable file
·22 lines (18 loc) · 947 Bytes
/
coverage.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
set -euxo pipefail
export JULIA_DIR=$HOME/julia-1.8.3
export LD_LIBRARY_PATH=$JULIA_DIR/lib:$JULIA_DIR/lib/julia
echo "backend: Gtk3Agg" > matplotlibrc
cargo llvm-cov clean --workspace;
cargo llvm-cov --features full,julia-1-8 --workspace --no-report -- --test-threads=1
cargo llvm-cov --example ccall --no-report -- --test-threads=1
cargo llvm-cov --example ccall_with_threads --no-report -- --test-threads=1
cargo llvm-cov run --example async_tasks --no-report
cargo llvm-cov run --example call_julia --no-report
cargo llvm-cov run --example fully_async_async_std --no-report
cargo llvm-cov run --example fully_async_tokio --no-report
cargo llvm-cov run --example nested_async_scopes --no-report
cargo llvm-cov run --example persistent_tasks --no-report
cargo llvm-cov run --example plot --no-report
rm matplotlibrc
cargo llvm-cov --no-run --open --hide-instantiations --ignore-filename-regex "(managed/internal|jl_sys)"