This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: RFC: Change rules for adding/changing test cases



To me, it looks like this:

Patches, changelogs, and PRs tell you this: That it's broken, how to
reproduce it, what it looks like when it's broken, and what the patch
was that fixed it.

The key missing detail is *why* it was broken - the core issue that
caused the bug, and the reason behind why the fix actually fixes it.

This type of hint to the next developer just doesn't exist in anything
today, and *that* is what I think should go in the testcase.
Something like "if this testcase fails, one thing to look at is foo,
because sometimes bar causes grill."

Just little handy notes to the next bug fixer to try to cut down on
debug time.


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