summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/RunCMake.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2024-02-08 16:45:56 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-08 16:54:46 (GMT)
commitb9a825b2a822f9be965d39f076c47f9903aaca5d (patch)
tree511c7e28cb73adb2a91ed63879dd394fc42369f5 /Tests/RunCMake/RunCMake.cmake
parent595191cb25309905d854a6b637ae12d84459d1ff (diff)
downloadCMake-b9a825b2a822f9be965d39f076c47f9903aaca5d.zip
CMake-b9a825b2a822f9be965d39f076c47f9903aaca5d.tar.gz
CMake-b9a825b2a822f9be965d39f076c47f9903aaca5d.tar.bz2
Tests/RunCMake: Allow specifying extra ignore lines
Tests can set `RunCMake_TEST_EXTRA_IGNORE_LINE_REGEX` before calling `run_cmake()` to ignore custom patterns.
Diffstat (limited to 'Tests/RunCMake/RunCMake.cmake')
-rw-r--r--Tests/RunCMake/RunCMake.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake
index 9bc510b..ecd7fad 100644
--- a/Tests/RunCMake/RunCMake.cmake
+++ b/Tests/RunCMake/RunCMake.cmake
@@ -217,6 +217,7 @@ function(run_cmake test)
"|[^\n]*offset in archive not a multiple of 8"
"|[^\n]*from Time Machine by path"
"|[^\n]*Bullseye Testing Technology"
+ ${RunCMake_TEST_EXTRA_IGNORE_LINE_REGEX}
")[^\n]*\n)+"
)
if(RunCMake_IGNORE_POLICY_VERSION_DEPRECATION)