mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
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
4
.github/configs
vendored
4
.github/configs
vendored
@ -12,7 +12,7 @@ config=$1
|
|||||||
|
|
||||||
unset CC CFLAGS CPPFLAGS LDFLAGS LTESTS SUDO
|
unset CC CFLAGS CPPFLAGS LDFLAGS LTESTS SUDO
|
||||||
|
|
||||||
TEST_TARGET="tests"
|
TEST_TARGET="tests compat-tests"
|
||||||
LTESTS=""
|
LTESTS=""
|
||||||
SKIP_LTESTS=""
|
SKIP_LTESTS=""
|
||||||
SUDO=sudo # run with sudo by default
|
SUDO=sudo # run with sudo by default
|
||||||
@ -260,6 +260,8 @@ esac
|
|||||||
case "`./config.guess`" in
|
case "`./config.guess`" in
|
||||||
*cygwin)
|
*cygwin)
|
||||||
SUDO=""
|
SUDO=""
|
||||||
|
# Don't run compat tests on cygwin as they don't currently compile.
|
||||||
|
TEST_TARGET="tests"
|
||||||
;;
|
;;
|
||||||
*-darwin*)
|
*-darwin*)
|
||||||
# Unless specified otherwise, build without OpenSSL on Mac OS since
|
# Unless specified otherwise, build without OpenSSL on Mac OS since
|
||||||
|
3
.github/run_test.sh
vendored
3
.github/run_test.sh
vendored
@ -46,6 +46,3 @@ if [ ! -z "${SSHD_CONFOPTS}" ]; then
|
|||||||
make t-exec SKIP_LTESTS="${SKIP_LTESTS}" LTESTS="${LTESTS}" TEST_SSH_SSHD_CONFOPTS="${SSHD_CONFOPTS}"
|
make t-exec SKIP_LTESTS="${SKIP_LTESTS}" LTESTS="${LTESTS}" TEST_SSH_SSHD_CONFOPTS="${SSHD_CONFOPTS}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
|
||||||
(cd openbsd-compat/regress && make)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user