Tests/RunCMake: Clarify documentation of platform-specific output matching

This commit is contained in:
Brad King
2024-05-23 15:51:10 -04:00
parent c2f8a6729f
commit aebf6b8b29

View File

@@ -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.