[cfe-dev] separate repository for test suite?

Devang Patel dpatel at apple.com
Wed Sep 17 09:11:58 PDT 2008


On Sep 16, 2008, at 8:18 PM, Daniel Dunbar wrote:

> In my opinion, the kinds of tests that go in the clang test level  
> should
> almost always be small and minimized enough that this is a non-issue.
> For test cases I personally reduce I usually minimize aggressively
> and do some canonicalization of names (f1, f2, f3 or foo bar),

I also do the same most of the times. A rewriter tool would be handy  
here!

> largely
> out of personal preference but it covers the license issue as well.  
> Small
> test cases for regression or feature issues benefit everyone by  
> running
> faster and highlighting the issue.
>
> For larger tests and for executable tests I think the LLVM style  
> approach
> is that they should be in a separate repository regardless of  
> license issues.

Note, LLVM also keeps small regression tests inside the llvm module.

> Its not clear to me that this repo needs to be different from the  
> LLVM test
> suite one, however. I think we just need to provide better hooks for  
> running
> the LLVM test suite using clang.

Yes, it makes sense to use one test suite, that is a collection of  
applications and benchmarks, for both compilers (llvm-gcc & clang+llvm).

-
Devang



More information about the cfe-dev mailing list