]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Report success of individual tests as well as all.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 29 Jul 2019 06:04:01 +0000 (16:04 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 29 Jul 2019 06:34:19 +0000 (16:34 +1000)
This puts the "all tests passed" message back at the end where the
test harnesses can find it.

Makefile.in

index 0634fa3331295aafc01cba5de7fefef8c585907a..c923c6ce9272d0ef1b5729832fdcd83a88a93dba 100644 (file)
@@ -591,6 +591,7 @@ regress-unit-binaries: regress-prep $(REGRESSLIBS) \
        regress/misc/kexfuzz/kexfuzz$(EXEEXT)
 
 tests: file-tests t-exec interop-tests unit
+       echo all tests passed
 
 unit: regress-unit-binaries
        BUILDDIR=`pwd`; \
@@ -598,7 +599,7 @@ unit: regress-unit-binaries
        $(MAKE) \
                .OBJDIR="$${BUILDDIR}/regress" \
                .CURDIR="`pwd`" \
-               $@
+               $@ && echo $@ tests passed
 
 interop-tests t-exec file-tests: regress-prep regress-binaries $(TARGETS)
        BUILDDIR=`pwd`; \
@@ -646,7 +647,7 @@ interop-tests t-exec file-tests: regress-prep regress-binaries $(TARGETS)
                TEST_SSH_ECC="$${TEST_SSH_ECC}" \
                TEST_SHELL="${TEST_SHELL}" \
                EXEEXT="$(EXEEXT)" \
-               $@ && echo all tests passed
+               $@ && echo all $@ passed
 
 compat-tests: $(LIBCOMPAT)
        (cd openbsd-compat/regress && $(MAKE))