[llvm-dev] [clang] Running a single testcase

Brian Cain via llvm-dev llvm-dev at lists.llvm.org
Mon May 7 08:19:57 PDT 2018


On Mon, May 7, 2018 at 10:13 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:

> ...
>


> sdi at iniza:~/src/llvm-toolchain/build$ ./bin/llvm-lit -v
> ./tools/clang/test/Sema/asm.c
> llvm-lit: /home/sdi/src/llvm-toolchain/llvm/utils/lit/lit/llvm/
> config.py:334:
> note: using clang: /home/sdi/src/llvm-toolchain/build/bin/clang
> -- Testing: 1 tests, 1 threads --
> PASS: Clang :: Sema/asm.c (1 of 1)
> Testing Time: 0.10s
>   Expected Passes    : 1
>
> This now looks good to me.
>
> How can I force to use a different clang than
> "/home/sdi/src/llvm-toolchain/build/bin/clang"?
> I have no symlink to /usr/bin/clang.
>
>
 Can you give a little more context?  What is your ultimate goal for this
activity?  Why would you want to run the test in this fashion and what
meaning would you attribute to the test passing or failing?

-Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180507/31ccd309/attachment.html>


More information about the llvm-dev mailing list