===============================
lit - A Software Testing Tool
===============================
About
=====
*lit* is a portable tool for executing LLVM and Clang style test suites,
summarizing their results, and providing indication of failures. *lit* is
designed to be a lightweight testing tool with as simple a user interface as
possible.
Features
========
* Portable!
* Flexible test discovery.
* Parallel test execution.
* Support for multiple test formats and test suite designs.
Documentation
=============
The official *lit* documentation is in the man page, available online at the LLVM
Command Guide: http://llvm.org/cmds/lit.html.
Source
======
The *lit* source is available as part of LLVM, in the LLVM source repository:
https://github.com/llvm/llvm-project/tree/main/llvm/utils/lit
Contributing to lit
===================
Please browse the issues labeled *tools:llvm-lit* in LLVM's issue tracker for
ideas on what to work on:
https://github.com/llvm/llvm-project/labels/tools%3Allvm-lit
Before submitting patches, run the test suite to ensure nothing has regressed::
# From within your LLVM source directory.
utils/lit/lit.py \
--path /path/to/your/llvm/build/bin \
utils/lit/tests
Note that lit's tests depend on ``not`` and ``FileCheck``, LLVM utilities.
You will need to have built LLVM tools in order to run lit's test suite
successfully.
You'll also want to confirm that lit continues to work when testing LLVM.
Follow the instructions in http://llvm.org/docs/TestingGuide.html to run the
regression test suite:
make check-llvm
And be sure to run the llvm-lit wrapper script as well:
/path/to/your/llvm/build/bin/llvm-lit utils/lit/tests
Finally, make sure lit works when installed via setuptools:
python utils/lit/setup.py install
lit --path /path/to/your/llvm/build/bin utils/lit/tests
Raw data
{
"_id": null,
"home_page": "http://llvm.org",
"name": "lit",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "test C++ automatic discovery",
"author": "Daniel Dunbar",
"author_email": "daniel@minormatter.com",
"download_url": "https://files.pythonhosted.org/packages/47/b4/d7e210971494db7b9a9ac48ff37dfa59a8b14c773f9cf47e6bda58411c0d/lit-18.1.8.tar.gz",
"platform": null,
"description": "===============================\n lit - A Software Testing Tool\n===============================\n\nAbout\n=====\n\n*lit* is a portable tool for executing LLVM and Clang style test suites,\nsummarizing their results, and providing indication of failures. *lit* is\ndesigned to be a lightweight testing tool with as simple a user interface as\npossible.\n\n\nFeatures\n========\n\n * Portable!\n * Flexible test discovery.\n * Parallel test execution.\n * Support for multiple test formats and test suite designs.\n\n\nDocumentation\n=============\n\nThe official *lit* documentation is in the man page, available online at the LLVM\nCommand Guide: http://llvm.org/cmds/lit.html.\n\n\nSource\n======\n\nThe *lit* source is available as part of LLVM, in the LLVM source repository:\nhttps://github.com/llvm/llvm-project/tree/main/llvm/utils/lit\n\n\nContributing to lit\n===================\n\nPlease browse the issues labeled *tools:llvm-lit* in LLVM's issue tracker for\nideas on what to work on:\nhttps://github.com/llvm/llvm-project/labels/tools%3Allvm-lit\n\nBefore submitting patches, run the test suite to ensure nothing has regressed::\n\n # From within your LLVM source directory.\n utils/lit/lit.py \\\n --path /path/to/your/llvm/build/bin \\\n utils/lit/tests\n\nNote that lit's tests depend on ``not`` and ``FileCheck``, LLVM utilities.\nYou will need to have built LLVM tools in order to run lit's test suite\nsuccessfully.\n\nYou'll also want to confirm that lit continues to work when testing LLVM.\nFollow the instructions in http://llvm.org/docs/TestingGuide.html to run the\nregression test suite:\n\n make check-llvm\n\nAnd be sure to run the llvm-lit wrapper script as well:\n\n /path/to/your/llvm/build/bin/llvm-lit utils/lit/tests\n\nFinally, make sure lit works when installed via setuptools:\n\n python utils/lit/setup.py install\n lit --path /path/to/your/llvm/build/bin utils/lit/tests\n\n",
"bugtrack_url": null,
"license": "Apache-2.0 with LLVM exception",
"summary": "A Software Testing Tool",
"version": "18.1.8",
"project_urls": {
"Homepage": "http://llvm.org"
},
"split_keywords": [
"test",
"c++",
"automatic",
"discovery"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9606b36f150fa7c5bcc96a31a4d19a20fddbd1d965b6f02510b57a3bb8d4b930",
"md5": "f72049042c1c86468f330656f7ba522b",
"sha256": "a873ff7acd76e746368da32eb7355625e2e55a2baaab884c9cc130f2ee0300f7"
},
"downloads": -1,
"filename": "lit-18.1.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f72049042c1c86468f330656f7ba522b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 96365,
"upload_time": "2024-06-25T14:33:12",
"upload_time_iso_8601": "2024-06-25T14:33:12.101082Z",
"url": "https://files.pythonhosted.org/packages/96/06/b36f150fa7c5bcc96a31a4d19a20fddbd1d965b6f02510b57a3bb8d4b930/lit-18.1.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "47b4d7e210971494db7b9a9ac48ff37dfa59a8b14c773f9cf47e6bda58411c0d",
"md5": "95884ab4848c62f50f71a1d47d78c776",
"sha256": "47c174a186941ae830f04ded76a3444600be67d5e5fb8282c3783fba671c4edb"
},
"downloads": -1,
"filename": "lit-18.1.8.tar.gz",
"has_sig": false,
"md5_digest": "95884ab4848c62f50f71a1d47d78c776",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 161127,
"upload_time": "2024-06-25T14:33:14",
"upload_time_iso_8601": "2024-06-25T14:33:14.489069Z",
"url": "https://files.pythonhosted.org/packages/47/b4/d7e210971494db7b9a9ac48ff37dfa59a8b14c773f9cf47e6bda58411c0d/lit-18.1.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-25 14:33:14",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lit"
}