git: f774652b0e83 - main - contrib/bc: temporarily disconnect the tests for 5.0.2

Stefan Eßer se at FreeBSD.org
Mon Oct 4 08:06:47 UTC 2021


The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=f774652b0e837be415abd20935eae3466ea34a20

commit f774652b0e837be415abd20935eae3466ea34a20
Author:     Stefan Eßer <se at FreeBSD.org>
AuthorDate: 2021-10-04 07:50:44 +0000
Commit:     Stefan Eßer <se at FreeBSD.org>
CommitDate: 2021-10-04 07:50:44 +0000

    contrib/bc: temporarily disconnect the tests for 5.0.2
    
    The tests that come with version 5.0.2 have been extended to cover the
    line editing functions. It has been found that these tests generate
    false negative results in FreeBSD, most likely due to an issue in the
    pexpect functionality used.
    
    These history tests are skipped on systems that do not have python and
    py-pexpect installed (and thus are unlikely to cause CI test failures),
    but in order to not cause irritating failures on systems were these
    packages are in fact installed, I temporarily disconnect them.
    
    I had planned to skip this version due to the issue with the history
    tests, but some committer has asked me to go ahead since the currently
    used version 5.0.0 contains a macro name that collides with a project
    he is working on.
    
    No MFC of this version is planned. A version 5.0.3 is expected to be
    released soon, and that version will allow to reconnect the tests and
    will be MFCed.
---
 usr.bin/gh-bc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile
index e5f68b704d79..e6e2f45aca73 100644
--- a/usr.bin/gh-bc/Makefile
+++ b/usr.bin/gh-bc/Makefile
@@ -67,8 +67,8 @@ MAN_SRC_DC=	dc/A.1
 CFLAGS+=	-flto
 .endif
 
-HAS_TESTS=
-SUBDIR.${MK_TESTS}+= tests
+#HAS_TESTS=
+#SUBDIR.${MK_TESTS}+= tests
 
 .for catalog in ${CATALOGS}
 NLS+=           ${catalog:C/.*://}


More information about the dev-commits-src-all mailing list