Mailing List Archive

[openssh] 01/01: run t-extra regress tests
This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 6eee8c972d5901d10e80634a006b4e346b2c8c19
Author: Damien Miller <djm@mindrot.org>
Date: Fri Oct 13 15:15:05 2023 +1100

run t-extra regress tests

This exposes the t-extra regress tests (including agent-pkcs11.sh) as
a new extra-tests target in the top level Makefile and runs them by
default. ok dtucker@
---
Makefile.in | 4 ++--
regress/Makefile | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 70287f51..0acc0366 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -715,7 +715,7 @@ regress-unit-binaries: regress-prep $(REGRESSLIBS) \
regress/unittests/sshsig/test_sshsig$(EXEEXT) \
regress/unittests/utf8/test_utf8$(EXEEXT)

-tests: file-tests t-exec interop-tests unit
+tests: file-tests t-exec interop-tests extra-tests unit
echo all tests passed

unit: regress-unit-binaries
@@ -726,7 +726,7 @@ unit: regress-unit-binaries
OBJ="$(BUILDDIR)/regress" \
$@ && echo $@ tests passed

-interop-tests t-exec file-tests: regress-prep regress-binaries $(TARGETS)
+interop-tests t-exec file-tests extra-tests: regress-prep regress-binaries $(TARGETS)
cd $(srcdir)/regress || exit $$?; \
EGREP='@EGREP@' \
OPENSSL_BIN='@OPENSSL_BIN@' \
diff --git a/regress/Makefile b/regress/Makefile
index c21b0215..a3a35c25 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -10,6 +10,8 @@ file-tests: $(REGRESS_TARGETS)
# Interop tests are not run by default
interop interop-tests: t-exec-interop

+extra extra-tests: t-extra
+
prep:
test "x${USE_VALGRIND}" = "x" || mkdir -p $(OBJ)/valgrind-out


--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits