This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Wiki: Started a page on how to write testcases for GDB
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb at sourceware dot org
- Date: Sat, 26 Dec 2009 09:55:44 +0400
- Subject: Re: Wiki: Started a page on how to write testcases for GDB
- References: <20091226054448.GW24363@adacore.com>
> I found that I was always asking myself the very same questions
> every time I have to write a new testcase, so I had this secret
> plan of writing a HOWTO, or a cookbook. I have just started a new
> page in the GDB wiki, summarizing some of the things I know:
>
> http://sourceware.org/gdb/wiki/GDBTestcaseCookbook
BTW: I should mention that the goal of this page is to help people
write consistent testcases, simplify their writing by pointing out
some useful convenience routines, helping avoiding common pitfals,
etc. Right now, the testsuite looks like a genetic experiment:
Every testcase is different from the other! To write a new testcase,
you marry two existing ones, they have lots of sex, and then start
producing new testcases that look like their parents, but are not
quite like their parents.
--
Joel