Re: PATCH: Eureka! The testsuite can now test individual tools.
Ben Elliston <[email protected]> Wed, 31 Oct 2018 21:54:46 +1100
| Newsgroups | gmane.comp.sysutils.dejagnu.bugs |
|---|---|
| Message-ID | <20181031105446.GA25506@bapbop> |
On Tue, Oct 30, 2018 at 08:24:00PM -0500, Jacob Bachmeyer wrote: > This was isolated after considering what is different between a run > for libdejagnu and for runtest, and the first difference I noticed > was that the libdejagnu tests run "unit" using "host_execute", which > uses "spawn" internally, so I added a simple "spawn echo ok; expect > ok"-like sequence to the runtest tool init file. When that caused a > Tcl error due to closing an invalid spawn descriptor in > runtest_exit, I knew I had found the problem. Well spotted. Thanks! Cheers, Ben