diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2019-06-17 18:31:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-21 15:06:39 (GMT) |
commit | f0a89149bc569020e281c5908733bf4b7eeddf15 (patch) | |
tree | 627b30ee8dee5645c1b65735b39ca240e093730c /Tests/RunCMake/README.rst | |
parent | 6425a5f3a06459914cca17172e2b6f557e7d79a4 (diff) | |
download | CMake-f0a89149bc569020e281c5908733bf4b7eeddf15.zip CMake-f0a89149bc569020e281c5908733bf4b7eeddf15.tar.gz CMake-f0a89149bc569020e281c5908733bf4b7eeddf15.tar.bz2 |
RunCMake: Automatically support platform out override files
Diffstat (limited to 'Tests/RunCMake/README.rst')
-rw-r--r-- | Tests/RunCMake/README.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/README.rst b/Tests/RunCMake/README.rst index d8b43fe..ebe40cf 100644 --- a/Tests/RunCMake/README.rst +++ b/Tests/RunCMake/README.rst @@ -55,6 +55,12 @@ but do not actually build anything. To add a test: ``<SubTest>-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: + ``<SubTest>-stdout-<platform_lower_case>.txt`` + ``<SubTest>-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. The code in ``<SubTest>-check.cmake`` may use variables |