Re: [patch 8/8] Test cases

Pedro Alves
2011-11-14T13:00:49Z

On Saturday 12 November 2011 03:35:09, Yao Qi wrote:
> On 11/11/2011 02:28 AM, Pedro Alves wrote:
> > Please make sure the new test messages are unique:
> >
> > $ cat testsuite/gdb.sum | grep "PASS" | sort | uniq -c | sort -n | tail -n 15
> > 1 PASS: gdb.trace/trace-break.exp: 6 trace enable trace disable: tstart
>
> I am good at making such duplicated test messages. :) These duplicated
> messages are fixed in my test case. I put this tip to wiki, and hope it
> is useful to other people.
>
> http://sourceware.org/gdb/wiki/GDBTestcaseCookbook#Make_sure_test_messages_are_unique

Thanks!

> 0008-testsuite-tracepoint-change-loc.patch
> * gdb.trace/change-loc-1.c: New.
> * gdb.trace/change-loc-2.c: New.
> * gdb.trace/change-loc.c: New.
> * gdb.trace/change-loc.exp: New.
> * gdb.trace/change-loc.h: New.
> * gdb.trace/trace-break.c (marker): Define new symbol.
> * gdb.trace/trace-break.exp (break_trace_same_addr_5):
> New.
> (break_trace_same_addr_6): New.

FAOD, Ok.

--
Pedro Alves