GNU bug report logs -
#47533
bug in dejagnu 1.6.3-rc2
Previous Next
Reported by: Tom Tromey <tromey <at> adacore.com>
Date: Wed, 31 Mar 2021 21:41:02 UTC
Severity: normal
Done: Jacob Bachmeyer <jcb62281 <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47533 in the body.
You can then email your comments to 47533 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-dejagnu <at> gnu.org
:
bug#47533
; Package
dejagnu
.
(Wed, 31 Mar 2021 21:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tom Tromey <tromey <at> adacore.com>
:
New bug report received and forwarded. Copy sent to
bug-dejagnu <at> gnu.org
.
(Wed, 31 Mar 2021 21:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I tried dejagnu 1.6.3-rc2. I ran "runtest" on a subset of the gdb test
suite, and this worked well. Thank you.
I tried the new "dejagnu" command but noticed two things.
First in --help:
Usage: dejagnu <command> [--help|options...]
Usage: dejagnu --help
Usage: dejagnu --version
--help Print help text
--version Print DejaGnu version
The GNU norm is to use upper-case for "metasyntactic variables", so
normally it would say "dejagnu COMMAND [...]"
Second, either --help or running it without options should probably show
the available commands.
Third, the use of tabs in the output makes it a bit weird to quote.
thanks,
Tom
Information forwarded
to
bug-dejagnu <at> gnu.org
:
bug#47533
; Package
dejagnu
.
(Thu, 01 Apr 2021 01:24:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 47533 <at> debbugs.gnu.org (full text, mbox):
Tom Tromey wrote:
> I tried dejagnu 1.6.3-rc2. I ran "runtest" on a subset of the gdb test
> suite, and this worked well. Thank you.
>
> I tried the new "dejagnu" command but noticed two things.
>
> First in --help:
>
> Usage: dejagnu <command> [--help|options...]
> Usage: dejagnu --help
> Usage: dejagnu --version
> --help Print help text
> --version Print DejaGnu version
>
> The GNU norm is to use upper-case for "metasyntactic variables", so
> normally it would say "dejagnu COMMAND [...]"
>
So how should that be written in GNU convention?
"dejagnu COMMAND [ --help | OPTIONS... ]"?
Is there a description of these conventions somewhere that I have missed
or overlooked?
> Second, either --help or running it without options should probably show
> the available commands.
>
This issue is PR33821. It has not been implemented yet because we do
not have enough commands to make evaluating an implementation practical.
> Third, the use of tabs in the output makes it a bit weird to quote.
>
This was done for convenience, including that the help texts are
actually read from the script files where they are "inset" using tabs.
(The line "# ##help" in the dejagnu launcher script introduces its own
help text.) What problems does this cause?
-- Jacob
Information forwarded
to
bug-dejagnu <at> gnu.org
:
bug#47533
; Package
dejagnu
.
(Thu, 01 Apr 2021 13:31:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 47533 <at> debbugs.gnu.org (full text, mbox):
>> Usage: dejagnu <command> [--help|options...]
Jacob> So how should that be written in GNU convention?
Jacob> "dejagnu COMMAND [ --help | OPTIONS... ]"?
Yeah.
Jacob> Is there a description of these conventions somewhere that I have
Jacob> missed or overlooked?
I think it's a convention based on the commenting convention:
https://www.gnu.org/prep/standards/html_node/Comments.html#Comments
>> Third, the use of tabs in the output makes it a bit weird to quote.
Jacob> This was done for convenience, including that the help texts are
Jacob> actually read from the script files where they are "inset" using tabs.
Jacob> (The line "# ##help" in the dejagnu launcher script introduces its own
Jacob> help text.) What problems does this cause?
None, it just looks unusual and then when I pasted it into the email, it
indented very weirdly as well.
Tom
Reply sent
to
jcb62281 <at> gmail.com
:
You have taken responsibility.
(Thu, 01 Apr 2021 23:15:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tom Tromey <tromey <at> adacore.com>
:
bug acknowledged by developer.
(Thu, 01 Apr 2021 23:15:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 47533-done <at> debbugs.gnu.org (full text, mbox):
Tom Tromey wrote:
>>> Usage: dejagnu <command> [--help|options...]
>>>
>
> Jacob> So how should that be written in GNU convention?
> Jacob> "dejagnu COMMAND [ --help | OPTIONS... ]"?
>
> Yeah.
>
Fixed in commit ea9642561c3f410dfb9f1362bc61fdf4e499b7f4 on the
dejagnu-1.6.3 branch.
>>> Third, the use of tabs in the output makes it a bit weird to quote.
>>>
>
> Jacob> This was done for convenience, including that the help texts are
> Jacob> actually read from the script files where they are "inset" using tabs.
> Jacob> (The line "# ##help" in the dejagnu launcher script introduces its own
> Jacob> help text.) What problems does this cause?
>
> None, it just looks unusual and then when I pasted it into the email, it
> indented very weirdly as well.
The "weird" indentation (unaffected by a small bit of left-edge text) is
intentional in the script files, since the help messages are embedded in
comments there. I will consider possibly expanding tabs on output in a
future version but this is not really a bug right now.
-- Jacob
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 30 Apr 2021 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.