Files
ureq/test.sh
2021-12-17 17:47:30 +01:00

13 lines
373 B
Bash
Executable File

#!/bin/bash
set -eu
export RUST_BACKTRACE=1
export RUSTFLAGS="-D dead_code -D unused-variables -D unused"
for feature in "" tls json charset cookies socks-proxy "tls native-certs" native-tls; do
if ! cargo test --no-default-features --features "${feature}" ; then
echo Command failed: cargo test --no-default-features --features \"${feature}\"
exit 1
fi
done