This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite] Workaround timeout in default.exp


> Darn.  This discussion sounded familiar; it turns out I had a patch
> for this written back in 2002 that I guess I never submitted.  Here it
> is, adapted for the current sources; default.exp runs on AIX with this
> patch.
> 
> (Your solution seems simpler.)

The comment was slightly misleading. In your patch, you did essentially
the same as what I did (avoid using gdb_test), except that I didn't
break the expected output into several chunks as you did. I am guessing
it was to be able to isolate the line containing the GDB prompt, but
maybe that was because you wanted this test to be powerful enough to
match the lines the test is looking for in any order?

In any case, I think Daniel found the real problem.

> Sun Feb  3 19:52:31 2002  Jim Blandy  <jimb@seadog.cygnus.com>
> 
> 	* gdb.base/default.exp: Distinguish the GDB prompt as it appears
> 	in "info set" and "show" output from the true prompt.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]