From b9a825b2a822f9be965d39f076c47f9903aaca5d Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 8 Feb 2024 17:45:56 +0100 Subject: Tests/RunCMake: Allow specifying extra ignore lines Tests can set `RunCMake_TEST_EXTRA_IGNORE_LINE_REGEX` before calling `run_cmake()` to ignore custom patterns. --- Tests/RunCMake/RunCMake.cmake | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v0.12