I came across http://llvm.org/docs/TestingGuide.html#platform-specific-tests.
Still yet to get a good understanding about it.
Do we have something similar in Clang test framework as well?
I am basically looking to get some tests executed in my i386, ARM,
Powerpc boards.
Probably, I will find the answers myself, if I spend some more time in
the documentation.
Just sending this email in case some one could help me with some quick pointers.
That link is describing the lit test suite checked in with the Clang and LLVM source code. There are no execution tests in that suite.
There is a larger test-suite repository which contains execution tests, but I don’t think most developers bother running it. It’s run on an ad-hoc basis on various bots controlled by different organizations. I think http://llvm.org/docs/lnt/quickstart.html has more info on it.
I have used gcc and the Dejagnu test framework. So, I was searching an
> equivalent of dejagnu, where we can execute tests on the target
> machine itself.
Some support for cross-testing has been recently added to compiler-rt (grep for %run in projects/compiler-rt/test). AFAIK this currently only supports QEMU but it should be possible to add support for SSH-based testing.