This is the mail archive of the gdb@sourceware.cygnus.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]

Re: Testsuite Organization Proposal


Stan Shebs wrote:
> 
> I'd like to propose a semi-formalization of the current testsuite
> organization, basically just reflecting current practice, but with
> enough precision to guide further additions.  The testsuite is key for
> GDB developers; the breadth of functionality and platforms is now so
> broad, in many cases, users won't discover regressions for months or
> years after the change that caused them; while a testsuite run often
> reveals mistakes right away.
> 
> First of all, testsuite organization mainly serves the purpose of
> intelligibility; DejaGNU finds all the expect scripts wherever they're
> placed.  But with around 6000 tests in all, it becomes important to
> organize them sensibly.
> 
> gdb.base        This is the base testsuite.  The tests in it should
>                 apply to all configurations of GDB (but generic
>                 native-only tests may live here).  The test programs
>                 should be in a subset of C that is valid K&R, ANSI/ISO,
>                 and C++ (ifdefs are allowed).

I'd kind of like to see gdb.base contain no C++ tests.  There are
targets out there that don't have a C++ compiler.

	Andrew

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