summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/README.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-05-23 19:51:10 (GMT)
committerBrad King <brad.king@kitware.com>2024-05-23 19:51:34 (GMT)
commitaebf6b8b29fb93163f028c9c6be71913b9f58c85 (patch)
tree0b383e6fef2ed60d4f57f2681448eef8ddecf1fd /Tests/RunCMake/README.rst
parentc2f8a6729f9d328b9b824205b067dc8f5eda9612 (diff)
downloadCMake-aebf6b8b29fb93163f028c9c6be71913b9f58c85.zip
CMake-aebf6b8b29fb93163f028c9c6be71913b9f58c85.tar.gz
CMake-aebf6b8b29fb93163f028c9c6be71913b9f58c85.tar.bz2
Tests/RunCMake: Clarify documentation of platform-specific output matching
Diffstat (limited to 'Tests/RunCMake/README.rst')
-rw-r--r--Tests/RunCMake/README.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/Tests/RunCMake/README.rst b/Tests/RunCMake/README.rst
index 29f5d87..d41c41a 100644
--- a/Tests/RunCMake/README.rst
+++ b/Tests/RunCMake/README.rst
@@ -81,11 +81,8 @@ To add a test:
``<case>-check.cmake``
Custom result check.
- Note that when a specific platform expects differing stdout or stderr that
- can be done by adding a platform specific output file. These follow the
- naming convention of:
- ``<case>-stdout-<platform_lower_case>.txt``
- ``<case>-stderr-<platform_lower_case>.txt``
+ To specify platform-specific matches, create files of the form
+ ``<case>-{stdout,stderr}-<platform_lower_case>.txt``.
Note that trailing newlines will be stripped from actual and expected
test output before matching against the stdout and stderr expressions.