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]

Re: [RFA] new test script for gnatsweb gdb/15


Fernando Nasser wrote:

> Also, I am concerned that we are creating structN.exp test files.  I
> wonder
> if we couldn't have all struct tests in the struct.exp file.

Well... actually, it could just be poor name choice.
For instance, structs2.exp really has little to do with debugging structs
in general, and neither does this one.  They're both fixes for specific
PR's, and named "structN.exp" simply because they have something to do
with a struct and no more obvious name.

I'm all in favor of adding a test when fixing a PR, but since a 
one-bug-fix test is kinda different from the one-general-functionality
tests that we have now (eg. break.exp for breakpoints etc.), maybe we
need a new naming convention for these tests (maybe PR13536.exp?).
Maybe they even belong in their own separate directory (eg. gdb.pr)
so as not to clutter up the existing test heirarchy.

Michael S.

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