diff --git a/docs/TestingGuide.rst b/docs/TestingGuide.rst index ad78d0f4e01..69d24225c9c 100644 --- a/docs/TestingGuide.rst +++ b/docs/TestingGuide.rst @@ -206,8 +206,8 @@ flexible, but we've standardized it for the LLVM regression tests. If you're adding a directory of tests, just copy ``lit.local.cfg`` from another directory to get running. The standard ``lit.local.cfg`` simply specifies which files to look in for tests. Any directory that contains -only directories does not need the ``lit.local.cfg`` file. Read the `Lit -documentation `_ for more information. +only directories does not need the ``lit.local.cfg`` file. Read the :doc:`Lit +documentation ` for more information. The ``llvm-runtests`` function looks at each file that is passed to it and gathers any lines together that match "RUN:". These are the "RUN"