[cfe-dev] Create a clang/test/DebugInfo directory?

Eric Christopher echristo at apple.com
Tue Jul 3 14:50:22 PDT 2012


On Jun 26, 2012, at 3:29 PM, "Robinson, Paul" <Paul.Robinson at am.sony.com> wrote:

> If the goal is a set of tiny patch-specific regression tests, then it
> probably makes more sense to associate each one with the module where
> the patch went; this is what we have today.
> 
> If the goal is to build a collection of tests for the overall debug-info
> feature, then it makes more sense to keep them together in one place,
> regardless of language. A lot of the debug info is language-agnostic,
> and the choice of implementation language for the test is frequently
> arbitrary. (Not always true, of course.) And file suffix should be
> enough to distinguish one language from another, sure; particularly 
> since we have one compiler able to accept all of them. (This was not so
> true in my previous job where we had 3 very different compilers to work
> with.)

I agree with both of these. I'm definitely not against moving the "feature" tests
into their own subdirectory and leaving the "regression" tests that don't
really fit with a feature where they are.

-eric



More information about the cfe-dev mailing list