bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32154: This patch breaks tests and is irrelevant now


From: Dale Mellor
Subject: bug#32154: This patch breaks tests and is irrelevant now
Date: Mon, 18 May 2020 11:09:11 +0100
User-agent: Evolution 3.30.5-1.1

Note that this patch breaks an existing test (since 2001), namely

(option-ref (getopt-long
              (list "prog" "-f4")
              '((foo
                 (value optional)
                 (single-char #\f))
                (bar)))
             'foo #f)

bails out with 

prog: no such option: -4


The only way to deal with this is to give getopt-long more intelligence in 
determining where command-line arguments are option
values or otherwise; this is the subject of #40719 which also allows numerical 
short options, but doesn't break the test suite.

My suggestion would be to dismiss (close) this bug report at this time.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]