This is the mail archive of the gdb-patches@sourceware.org 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: why do we set prms_id/bug_id in GDB testcases?


Joel Brobecker wrote:
Hello,

It's a question that has been nagging at me problably since I decided
that I was going to understand how to write testing with only stuff
that is actually useful, and following the recommended style...

We often start testcases with the following statements:

    set prms_id 0
    set bug_id 0

[...]

Maybe it's used internally by dejagnu? (I couldn't find evidence of that
in the dejagnu manual)


It might have been used by some semi-internal Cygnus reporting thing, or just as likely it was intended to be part of the one of the many unimplemented ideas in Dejagnu. I would just whack it from GDB testsuite.


In fact I would go further, and say that *anything* in the GDB testsuite without a known use should be deleted. The unfinished bits routinely soak up our time puzzling over what they are supposed to be for. If someone has a use for some bit, then it's up to them to document in the testsuite somewhere.

Stan


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