]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
run t-extra regress tests
authorDamien Miller <djm@mindrot.org>
Fri, 13 Oct 2023 04:15:05 +0000 (15:15 +1100)
committerDamien Miller <djm@mindrot.org>
Fri, 13 Oct 2023 04:15:05 +0000 (15:15 +1100)
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
regress/Makefile

index 70287f51fb81402c6d33af56c36c67644abba418..0acc0366b584550eef313cc7780fb1805e859071 100644 (file)
@@ -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@' \
index c21b0215a8cd4f47f22e7e677302cbdff7a44907..a3a35c25f49532bb010c032c4520b34d5b2587f4 100644 (file)
@@ -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