[LLVMdev] windows testing etc

Óscar Fuentes ofv at wanadoo.es
Sat Oct 11 23:35:05 PDT 2008


Chris Lattner <clattner at apple.com> writes:

> On Oct 11, 2008, at 8:41 PM, OvermindDL1 wrote:
>
>> I am not sure how well the current tests could be ported though, they
>> are very gcc-centric, as in compile with llvm-gcc and execute what
>> llvm-gcc compiled, not very useful as an api test.  I have not really
>> looked much into the current test setup once I noticed how useless it
>> was for me, but is there a certain part of it that does not touch gcc
>> type things, that literally just tests llvm directly without any
>> middle stuff like llvm-gcc?  If so, I could probably work on getting
>> that into a more unified framework...
>
> Are you talking about the test-suite SVN module?  If so, I agree with  
> you.  It seems much more useful to start with the llvm/test  
> subdirectory of unit tests.  Those mostly don't depend on llvm-gcc and  
> the few ones that do should be moved elsewhere anyway.

How much value is on adding cross-platform support for the tests in
llvm/test?  I've looked at them and the task seems achievable with not
too much work.

Am I right suppossing that a non-zero return value for the "RUN:"
command(s) means failure, and zero means success, and there is no more
stuff than that to worry about for knowing the result?

-- 
Oscar




More information about the llvm-dev mailing list