From c80a4f92cea370b3cc9b9f3e03332c7eb7a6a31a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 24 Jul 2013 14:01:21 -0400 Subject: [PATCH] Tests/RunCMake: Document stripping of expected output Document that trailing newlines are stripped from the -stdout.txt and -stderr.txt content before using as a regular expression. --- Tests/RunCMake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 66ce3f12f..9294fa126 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -28,7 +28,7 @@ # -stdout.txt = Regex matching expected stdout content # -stderr.txt = Regex matching expected stderr content # -check.cmake = Custom result check -# Note that trailing newlines will be stripped from actual test +# Note that trailing newlines will be stripped from actual and expected test # output before matching against the stdout and stderr expressions. # The code in -check.cmake may use variables # RunCMake_TEST_SOURCE_DIR = Top of test source tree