This is the mail archive of the gdb@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: Dejagnu testsuite



On Apr 14, 2004, at 1:20 PM, Manoj Iyer wrote:



ok, go it! I was able to run the testcase, now I am trying to determine why the testcase broke/failed, is there a way to re-create the failure manually by running GDB against the test (using the assertion) that failed?

See the gdb/testsuite/gdb.log file for what was going on.


For example how does the testcase translate variables like $hex? how does
it know that $hex is the right value that GDB prints??


It's a convenience regexp which matches a hex value. $decimal, $ws (whitespace), $nl, etc. are also used in test cases.

J


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