Unit tests

How do I run just some of the unit tests? I want to run the TableGen unit tests.

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`

~Nathan

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"