diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/README.rst | 4 | ||||
-rw-r--r-- | Tests/RunCMake/README.rst | 16 |
2 files changed, 18 insertions, 2 deletions
diff --git a/Tests/README.rst b/Tests/README.rst index 3e98938..2810fec 100644 --- a/Tests/README.rst +++ b/Tests/README.rst @@ -29,3 +29,7 @@ are organized as follows. Tests that run CMake and/or other tools while precisely checking their return code and stdout/stderr content. Useful for testing error cases and diagnostic output. + + See `RunCMake/README.rst`_. + +.. _`RunCMake/README.rst`: RunCMake/README.rst diff --git a/Tests/RunCMake/README.rst b/Tests/RunCMake/README.rst index 8850d7a..9ff7ed2 100644 --- a/Tests/RunCMake/README.rst +++ b/Tests/RunCMake/README.rst @@ -1,5 +1,17 @@ -This directory contains tests that run CMake to configure a project -but do not actually build anything. To add a test: +CMake Tests/RunCMake Directory +****************************** + +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>/``. |