i want run the test below <llvm_src>/tools/clang/test/CodeGenOpenCL,but i got a error when i use command line like this:
if anyone can tell me how to run the tests?
llvm-lit is supposed to run on the top of build directory, and it
should be located in "bin" directory.
Of course, you should build the tree in advance.
$ Release+Asserts/bin/llvm-lit -v tools/clang/test
(or bin/llvm-lit, if you are using cmake)
Thanks for your help,and now i can work well with your method.