Mark Brown wrote:
[...]
I propose tests/regress/stdcxx-NNN as the directory and file
naming convention for these new tests.

Comments?

I like how the existing tests are organized by sections in the standard. When 
working on for example vector, it's easy to run just the container tests 
without having to worry about all the other tests. If the regression tests are 
in a separate directory people will need to remember to build and run them in 
addition to those for whatever it is they happen to be working on. Would it be 
possible to put the regression tests in the same directories as the other tests 
for the same components?

That sounds like a reasonable idea to me. Although not all
regression tests necessarily are (or will always be) specific
to a single component. Another (minor) wrinkle with the setup
you are proposing is that the regression tests wouldn't show
up along with the other tests for the same components in the
test result logs unless we prepended the section number to
their names like we do with te other ones. I.e., the naming
convention for the section-specific regression tests would
have to be something like:

  tests/<section>/<section-number>.stdcxx-<issue-number>.cpp

Regression tests that aren't specific to a single section
would still follow the originally proposed convention:

  tests/regress/stdcxx-<issue-number>.cpp

Does this sound like a plan?

Martin

Reply via email to