[llvm-dev] Unit tests

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Sat Nov 21 15:47:58 PST 2020


Thank you! The documentation at https://llvm.org/docs/TestingGuide.html#unit-tests made me think that I run the unit tests using make.

"<https://llvm.org/docs/TestingGuide.html#id11>

Unit and Regression tests

To run all of the LLVM unit tests use the check-llvm-unit target:

% make check-llvm-unit"


At 11/21/2020 05:44 PM, Nathan James wrote:
>Hi,
>
>You can build unittests on their own
>`ninja TableGenTests`
>Then you can just run the output file, it lives in 
>`<build_dir>/unittests/TableGen/TableGenTests`



More information about the llvm-dev mailing list