g++.pt/lss-*.C

Jason Merrill jason@cygnus.com
Thu Aug 26 16:09:00 GMT 1999


>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> writes:

 > On Aug 25, 1999, Jason Merrill <jason@cygnus.com> wrote:
 >> Please rename them to something more descriptive, or ask Paul to do so.
 >> Naming testcases after the submitter's employer isn't very useful...

 > I had always thought testcase names were not important, since there
 > are even testcases named after dates...

We need not repeat the mistakes of the past.  :)

 > I won't have time to analyze the testcases to figure better names for
 > them (I haven't even been able to keep up with other bug reports).  So
 > we could create a sub-directory for Paul and renaming all tests to
 > templateN.C, or wait until Paul proposes new names for his testcases.
 > Paul, if you do, just send me e-mail with, say, one line per file, so
 > that I can easily process them with a shell script.

We shouldn't create new sub-dirs named after people, or indeed anything
that doesn't pertain to what's being tested.  Tests should be named and
grouped in a way that helps someone reading test results to have an idea
of what's failing.

 > BTW, The fact that the testcases are within g++.pt, they're all
 > related with templates, right?  AFAIK, `.pt' stands for templates, but
 > I could never figure what the `p' stands for.  Do you know?

pt stands for parameterized types, an Ada term.  Dunno why Ken Raeburn used
that name when he added template support to g++, but nobody's bothered to
rename it.

Jason


More information about the Gcc-patches mailing list