mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
[docs] Update TestingGuide's note on how to run with Valgrind.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
efdcf800fe
commit
22c6ccf839
@ -120,12 +120,14 @@ can run the LLVM and Clang tests simultaneously using:
|
|||||||
|
|
||||||
% make check-all
|
% make check-all
|
||||||
|
|
||||||
To run the tests with Valgrind (Memcheck by default), just append
|
To run the tests with Valgrind (Memcheck by default), use the ``LIT_ARGS`` make
|
||||||
``VG=1`` to the commands above, e.g.:
|
variable to pass the required options to lit. For example, you can use:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
% make check VG=1
|
% make check LIT_ARGS="-v --vg --vg-leak"
|
||||||
|
|
||||||
|
to enable testing with valgrind and with leak checking enabled.
|
||||||
|
|
||||||
To run individual tests or subsets of tests, you can use the ``llvm-lit``
|
To run individual tests or subsets of tests, you can use the ``llvm-lit``
|
||||||
script which is built as part of LLVM. For example, to run the
|
script which is built as part of LLVM. For example, to run the
|
||||||
|
Loading…
Reference in New Issue
Block a user