16 lines
410 B
Bash
Executable File
16 lines
410 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "$BUILD_OPENSSL_VERSION" != "" ]; then
|
|
FEATURES="aes_xts aes_ctr alpn rfc5114 ecdh_auto openssl-102"
|
|
fi
|
|
|
|
if [ -d "$HOME/openssl/lib" ]; then
|
|
export OPENSSL_DIR=$HOME/openssl
|
|
export PATH=$HOME/openssl/bin:$PATH
|
|
fi
|
|
|
|
cargo run --manifest-path systest/Cargo.toml --target $TARGET
|
|
exec cargo test --manifest-path openssl/Cargo.toml --target $TARGET \
|
|
--features "$FEATURES"
|