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]

Re: Testsuite policy - test case now passes but bug remains


>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:

Mark> It's true that test-cases in the testsuite tend to get
Mark> duplicated.

For libjava we have a policy (informal, but generally followed) that
if the test case came from a PR, then the PR is mentioned in the
ChangeLog and the commit message.  Then the commit message ends up in
Gnats, so that anybody else looking at the PR will notice that the
test case has been checked in.  We also name test cases after PRs.

We still get duplication, sometimes, but that has been because (1)
some test cases predate this policy, and (2) some bugs get reported
multiple times.  For us the duplication is not much of a problem, but
then we have far fewer tests than gcc.

Tom


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