Re: testsuite/lib/libsup.exp appears to be an interesting fossil

2018-12-13 Thread Jacob Bachmeyer
[Apologies for the delayed reply; I had to fish the message out of Gmail's spam folder.] Rob Savoye wrote: On 12/11/18 7:59 PM, Jacob Bachmeyer wrote: Is there a known reason that this approach (an interactive Expect subprocess) is not used, or was there simply not time to pursue it in earl

Re: testsuite/lib/libsup.exp appears to be an interesting fossil

2018-12-11 Thread Rob Savoye
On 12/11/18 7:59 PM, Jacob Bachmeyer wrote: > Is there a known reason that this approach (an interactive Expect > subprocess) is not used, or was there simply not time to pursue it in > early 1996? In 1996, when that file was written, nobody was using the unit test API at all. Later on, that d

testsuite/lib/libsup.exp appears to be an interesting fossil

2018-12-11 Thread Jacob Bachmeyer
While recently improving the DejaGnu testsuite, I found that using "pass" in a unit test case that loads framework.exp produced an error: "PASS doesn't exist in incr_count". The immediate solution was "well, of course that does not work" and just writing {puts "PASSED: ..."} instead, but libs