mirror of git://anongit.mindrot.org/openssh.git
Don't run openbsd-compat tests on Cygwin.
Add "compat-tests" to the default TEST_TARGET so we can override as necessary. Override TEST_TARGET for Cygwin as the tests don't currently compile there.
This commit is contained in:
parent
3cae9f92a3
commit
99500df246
|
@ -12,7 +12,7 @@ config=$1
|
|||
|
||||
unset CC CFLAGS CPPFLAGS LDFLAGS LTESTS SUDO
|
||||
|
||||
TEST_TARGET="tests"
|
||||
TEST_TARGET="tests compat-tests"
|
||||
LTESTS=""
|
||||
SKIP_LTESTS=""
|
||||
SUDO=sudo # run with sudo by default
|
||||
|
@ -260,6 +260,8 @@ esac
|
|||
case "`./config.guess`" in
|
||||
*cygwin)
|
||||
SUDO=""
|
||||
# Don't run compat tests on cygwin as they don't currently compile.
|
||||
TEST_TARGET="tests"
|
||||
;;
|
||||
*-darwin*)
|
||||
# Unless specified otherwise, build without OpenSSL on Mac OS since
|
||||
|
|
|
@ -46,6 +46,3 @@ if [ ! -z "${SSHD_CONFOPTS}" ]; then
|
|||
make t-exec SKIP_LTESTS="${SKIP_LTESTS}" LTESTS="${LTESTS}" TEST_SSH_SSHD_CONFOPTS="${SSHD_CONFOPTS}"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
(cd openbsd-compat/regress && make)
|
||||
|
|
Loading…
Reference in New Issue