blob: cc4756bf575f69110a99cbf3cf724153916eeb98 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
set -e
case "$BUILD_OPENSSL_VERSION" in
1.0.2*)
FEATURES="openssl-102"
;;
1.1.0*)
FEATURES="openssl-110"
;;
esac
echo Using features: $FEATURES
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"
|