lit
LLVM integrated tester for executing LLVM and Clang style test suites, summarizing results. Part of LLVM. More information: https://www.llvm.org/docs/CommandGuide/lit.html.
- Run a specified test case:
lit
- Run all test cases in a specified directory:
lit
- Run all test cases and check the wall time for each cases, then report to summary output:
lit --time-tests
- Run individual tests with Valgrind (memory check and memory leak test):
lit --vg --vg-leak --vg-args=
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
