mirror of git://anongit.mindrot.org/openssh.git
24 lines
394 B
Bash
24 lines
394 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
TARGETS=$@
|
||
|
|
||
|
TEST_TARGET="tests"
|
||
|
LTESTS="" # all tests by default
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
for TARGET in $TARGETS; do
|
||
|
case $TARGET in
|
||
|
--without-openssl)
|
||
|
# When built without OpenSSL we can't do the file-based RSA key tests.
|
||
|
TEST_TARGET=t-exec
|
||
|
;;
|
||
|
esac
|
||
|
done
|
||
|
|
||
|
if [ -z "$LTESTS" ]; then
|
||
|
make $TEST_TARGET
|
||
|
else
|
||
|
make $TEST_TARGET LTESTS="$LTESTS"
|
||
|
fi
|