logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Execute LLVM Tests - lit Test Runner | Online Free DevTools by Hexmos

Execute LLVM tests with lit, an LLVM integrated tester for efficient code testing. Automate test suites and analyze results. Free online tool, no registration required.

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}}

See Also