mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-11 20:11:10 -05:00
Tests/RunCMake: Cross-reference README from main Tests/README
This commit is contained in:
@@ -29,3 +29,7 @@ are organized as follows.
|
|||||||
Tests that run CMake and/or other tools while precisely checking
|
Tests that run CMake and/or other tools while precisely checking
|
||||||
their return code and stdout/stderr content. Useful for testing
|
their return code and stdout/stderr content. Useful for testing
|
||||||
error cases and diagnostic output.
|
error cases and diagnostic output.
|
||||||
|
|
||||||
|
See `RunCMake/README.rst`_.
|
||||||
|
|
||||||
|
.. _`RunCMake/README.rst`: RunCMake/README.rst
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
This directory contains tests that run CMake to configure a project
|
CMake Tests/RunCMake Directory
|
||||||
but do not actually build anything. To add a test:
|
******************************
|
||||||
|
|
||||||
|
This directory contains tests that run CMake and/or other tools while
|
||||||
|
precisely checking their return code and stdout/stderr content.
|
||||||
|
The RunCMake infrastructure is useful for testing error cases and
|
||||||
|
diagnostic output.
|
||||||
|
|
||||||
|
See also `../README.rst`_ and the `CMake Source Code Guide`_.
|
||||||
|
|
||||||
|
.. _`../README.rst`: ../README.rst
|
||||||
|
.. _`CMake Source Code Guide`: ../../Help/dev/source.rst
|
||||||
|
|
||||||
|
To add a test:
|
||||||
|
|
||||||
1. Add a subdirectory named for the test, say ``<Test>/``.
|
1. Add a subdirectory named for the test, say ``<Test>/``.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user