I'm building argp for Cygwin. The build succeeds, and all of the tests
pass except for one, test-argp-2.sh. The contents of test-suite.log
are below.

The error is pretty trivial, and I think it's incorrect. If I
understand the source in lib/argp-help.c correctly
(https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/argp-help.c;h=e5baee2ca89e867000ac7ac0e7fbd8b5a14aa34b;hb=HEAD#l1795),
I think argp isn't supposed to print the "Report bugs to" message if
argp_program_bug_address is undefined. So probably the expected output
just needs to be updated.

===============================
   dummy 0: ./test-suite.log
===============================

# TOTAL: 110
# PASS:  109
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-argp-2.sh
====================

--- expected    2023-07-09 07:44:15.661109200 -0400
+++ out 2023-07-09 07:44:15.883486400 -0400
@@ -33,5 +33,3 @@

 Mandatory or optional arguments to long options are also mandatory or optional
 for any corresponding short options.
-
-Report bugs to <>.
FAIL test-argp-2.sh (exit status: 1)

Reply via email to