[LLVMdev] windows testing etc

Chris Lattner clattner at apple.com
Sun Oct 12 09:58:33 PDT 2008


On Oct 11, 2008, at 11:35 PM, Óscar Fuentes wrote:

> 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.

It would be a huge benefit.  Those tests cover a significant portion  
of the sanity checks in the compiler as well as indirect api tests.

> 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?

Yep exactly.

-Chris



More information about the llvm-dev mailing list