lit
all
LLVM integrated tester for executing LLVM and Clang style test suites, summarizing results. Part of LLVM.
More info →Examples (4)
Run a specified test case
lit path/to/test_file.testRun all test cases in a specified directory
lit path/to/test_suiteRun all test cases and check the wall time for each cases, then report to summary output
lit path/to/test_suite --time-testsRun individual tests with Valgrind (memory check and memory leak test)
lit path/to/test_file.test --vg --vg-leak --vg-args=args_to_valgrindmade by @shridhargupta | data from tldr-pages