Skip to content

[llvm][Docs] Make it clear where lit test files live #124121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions llvm/docs/TestingGuide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,17 @@ script which is built as part of LLVM. For example, to run the

.. code-block:: bash

% llvm-lit ~/llvm/test/Integer/BitPacked.ll
% llvm-lit <path to llvm-project>/llvm/test/Integer/BitPacked.ll

or to run all of the ARM CodeGen tests:
.. note::
The test files are in the ``llvm-project`` directory, not the directory you
are building LLVM in.

Or you can run a whole folder of tests. To run all of the ARM CodeGen tests:

.. code-block:: bash

% llvm-lit ~/llvm/test/CodeGen/ARM
% llvm-lit <path to llvm-project>/llvm/test/CodeGen/ARM

The regression tests will use the Python psutil module only if installed in a
**non-user** location. Under Linux, install with sudo or within a virtual
Expand Down
Loading