1
0
Fork 0
firefox/third_party/rust/audio-mixer/run_tests.sh
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

17 lines
385 B
Bash
Executable file

# Bail out once getting an error.
set -e
# Display verbose backtrace for debugging if backtrace is unset
if [ -z "${RUST_BACKTRACE}" ]; then
export RUST_BACKTRACE=1
fi
echo -e "RUST_BACKTRACE is set to ${RUST_BACKTRACE}\n"
# Format check
cargo fmt --all -- --check
# Lints check
cargo clippy --all-targets --all-features -- -D warnings
# Regular Tests
cargo test --verbose --all