cmake and testsuite

I just tried cmake for the first time and it mostly worked. I had been using autotools to configure.

With cmake configure environment when I try to do:

make TESTSUITE=CodeGen/mblaze check

it runs the whole test suite. Under autotools it would just run the mblaze tests. Is there an equivalent command in a camke configured environment or is this broken? I know nothing about cmake so I'm hoping there is a trivial answer.

JP

llvmjp <jpbonn-keyword-llvm.7c175e@corniceresearch.com> writes:

I just tried cmake for the first time and it mostly worked. I had been
using autotools to configure.

With cmake configure environment when I try to do:

make TESTSUITE=CodeGen/mblaze check

it runs the whole test suite. Under autotools it would just run the
mblaze tests. Is there an equivalent command in a camke configured
environment or is this broken? I know nothing about cmake so I'm hoping
there is a trivial answer.

AFAIK that is not supported. It is not hard to add, but recently
something similar was removed because it was not useful enough.

Are they useful to you?
$ bin/llvm-lit -sv -jN test/CodeGen/MBlaze
$ bin/llvm-lit -sv -jN /path/to/source/llvm/test/CodeGen/MBlaze/hogehoge.ll

...Takumi

Thanks! That works perfectly.