mirror of
https://github.com/actix/actix-web.git
synced 2024-12-29 11:30:41 +00:00
28 lines
1,010 B
Bash
Executable file
28 lines
1,010 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# run tests matching what CI does for non-linux feature sets
|
|
|
|
set -x
|
|
|
|
EXIT=0
|
|
|
|
save_exit_code() {
|
|
eval $@
|
|
local CMD_EXIT=$?
|
|
[ "$CMD_EXIT" = "0" ] || EXIT=$CMD_EXIT
|
|
}
|
|
|
|
save_exit_code cargo test --lib --tests -p=actix-router --all-features
|
|
save_exit_code cargo test --lib --tests -p=actix-http --all-features
|
|
save_exit_code cargo test --lib --tests -p=actix-web --features=rustls,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls
|
|
save_exit_code cargo test --lib --tests -p=actix-web-codegen --all-features
|
|
save_exit_code cargo test --lib --tests -p=awc --all-features
|
|
save_exit_code cargo test --lib --tests -p=actix-http-test --all-features
|
|
save_exit_code cargo test --lib --tests -p=actix-test --all-features
|
|
save_exit_code cargo test --lib --tests -p=actix-files
|
|
save_exit_code cargo test --lib --tests -p=actix-multipart --all-features
|
|
save_exit_code cargo test --lib --tests -p=actix-web-actors --all-features
|
|
|
|
save_exit_code cargo test --workspace --doc
|
|
|
|
exit $EXIT
|