2021-11-30 15:12:04 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# run tests matching what CI does for non-linux feature sets
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
2021-12-14 22:17:50 +01:00
|
|
|
EXIT=0
|
2021-12-02 18:04:40 +01:00
|
|
|
|
2021-12-14 22:17:50 +01:00
|
|
|
save_exit_code() {
|
|
|
|
eval $@
|
|
|
|
local CMD_EXIT=$?
|
|
|
|
[ "$CMD_EXIT" = "0" ] || EXIT=$CMD_EXIT
|
|
|
|
}
|
|
|
|
|
2022-01-03 14:17:57 +01:00
|
|
|
save_exit_code cargo test --lib --tests -p=actix-router --all-features -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-http --all-features -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-web --features=rustls,openssl -- --nocapture --skip=test_reading_deflate_encoding_large_random_rustls
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-web-codegen --all-features -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=awc --all-features -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-http-test --all-features -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-test --all-features -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-files -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-multipart --all-features -- --nocapture
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-web-actors --all-features -- --nocapture
|
2021-12-14 22:17:50 +01:00
|
|
|
|
|
|
|
save_exit_code cargo test --workspace --doc
|
|
|
|
|
|
|
|
exit $EXIT
|