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:
Darren Tucker 2022-11-04 16:59:26 +11:00
parent 3cae9f92a3
commit 99500df246
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

4
.github/configs vendored
View File

@ -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

3
.github/run_test.sh vendored
View File

@ -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)