Skip to content

Commit c14c0a1

Browse files
authored
[lit][docs] Mention LIT_OPTS instead of LIT_ARGS (#147494)
Noticed that the current [docs](https://llvm.org/docs/TestingGuide.html#unit-and-regression-tests) recommend using LIT_ARGS (config option in cmake script), rather than LIT_OPTS (environment variable interpreted by lit directly). While LIT_ARGS doesn't do anything at all when set with make, at least not in a way outlined in the docs.
1 parent 9fc7c6c commit c14c0a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/TestingGuide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ can run the LLVM and Clang tests simultaneously using:
152152
153153
% make check-all
154154
155-
To run the tests with Valgrind (Memcheck by default), use the ``LIT_ARGS`` make
155+
To run the tests with Valgrind (Memcheck by default), use the ``LIT_OPTS`` make
156156
variable to pass the required options to lit. For example, you can use:
157157

158158
.. code-block:: bash
159159
160-
% make check LIT_ARGS="-v --vg --vg-leak"
160+
% make check LIT_OPTS="-v --vg --vg-leak"
161161
162162
to enable testing with valgrind and with leak checking enabled.
163163

0 commit comments

Comments
 (0)