mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 12:49:30 +00:00
Update cheatsheets
This commit is contained in:
26
tldr/lit
Normal file
26
tldr/lit
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 {{path/to/test_file.test}}`
|
||||
|
||||
- Run all test cases in a specified directory:
|
||||
|
||||
`lit {{path/to/test_suite}}`
|
||||
|
||||
- Run all test cases and check the wall time for each cases, then report to summary output:
|
||||
|
||||
`lit {{path/to/test_suite}} --time-tests`
|
||||
|
||||
- Run individual tests with Valgrind (memory check and memory leak test):
|
||||
|
||||
`lit {{path/to/test_file.test}} --vg --vg-leak --vg-args={{args_to_valgrind}}`
|
||||
Reference in New Issue
Block a user