Debian Codegraph @

scripts/test.sh

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 #! /bin/bash
2
3 set -o errexit
4 set -o pipefail
5 set -x
6
7 # $1 Passed by meson and should be the builddir
•8 #export CARGO_TARGET_DIR="$1/target/"
9 #export CARGO_HOME="$CARGO_TARGET_DIR/cargo-home"
10
11 # If this is run inside a flatpak envrironment, append the export the rustc
12 # sdk-extension binaries to the path
13 if [ -f "/.flatpak-info" ]
14 then
15 export PATH="$PATH:/usr/lib/sdk/rust-stable/bin"
16 fi
17
•18 #cargo fetch --locked
19 cargo test --all-features --offline -- --test-threads=1 --nocapture