GNU bug report logs -
#44636
Misleading documentation
Previous Next
Reported by: Robert Menteer <reetnem <at> mac.com>
Date: Sat, 14 Nov 2020 16:15:01 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 44636 in the body.
You can then email your comments to 44636 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#44636
; Package
dejagnu
.
(Sat, 14 Nov 2020 16:15:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robert Menteer <reetnem <at> mac.com>
:
New bug report received and forwarded. Copy sent to
bug-dejagnu <at> gnu.org
.
(Sat, 14 Nov 2020 16:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
In section 4.2.2 of the info manual for DejaGnu it suggests to create a subdirectory config then create a tool init file in it. If I copy the unix.exp example to /…/testsuite/config/tool.exp runtool does not appear to read it. Looking around the web I found a mention of placing the init file in /…/testsuite/lib/. This does seem to work as I get the following output:
Using ./lib/FlDist.exp as tool init file.
Another problem with the example init file in that same section is the expect statement:
global ${examplename}
This causes the following error:
ERROR: tcl error sourcing tool init file ./lib/FlDist.exp.
can't read "examplename": no such variable
The problem with the documentation is not that it uses examplename in it’s example but there is nothing explaining how to modify examplename to fit the tool. This is in contrast to naming files which is explained in the manual.
Thanks,
Bob Menteer
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-dejagnu <at> gnu.org
:
bug#44636
; Package
dejagnu
.
(Wed, 18 Nov 2020 03:58:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Robert Menteer via Bug-dejagnu via wrote:
> In section 4.2.2 of the info manual for DejaGnu it suggests to create
> a subdirectory config then create a tool init file in it. If I copy
> the unix.exp example to /…/testsuite/config/tool.exp runtool does not
> appear to read it.
You are correct that this is wrong; the manual is conflating tool init
files and target interface files here.
> Looking around the web I found a mention of placing the init file in
> /…/testsuite/lib/.
This is correct; the manual has been corrected in commit
9950000f4ec0f6cd2c5afbc8ec5413391c20a535.
Closing as now fixed.
-- Jacob
Reply sent
to
jcb62281 <at> gmail.com
:
You have taken responsibility.
(Wed, 18 Nov 2020 03:58:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Robert Menteer <reetnem <at> mac.com>
:
bug acknowledged by developer.
(Wed, 18 Nov 2020 03:58:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 16 Dec 2020 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.