summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-09-22 19:15:39 (GMT)
committerBrad King <brad.king@kitware.com>2023-09-26 14:04:07 (GMT)
commite0765c2c4620ccd4b86dfd05ba051ca577ab88c3 (patch)
treef0a0b2e1e8536bdf744b6ebea6a57add038f911c
parent5a79ea2799e27dc78d71ad71cbf7009416e98076 (diff)
downloadCMake-e0765c2c4620ccd4b86dfd05ba051ca577ab88c3.zip
CMake-e0765c2c4620ccd4b86dfd05ba051ca577ab88c3.tar.gz
CMake-e0765c2c4620ccd4b86dfd05ba051ca577ab88c3.tar.bz2
Tests: Teach RunCMake to ignore Xcode DVTAssertions warnings
On some Xcode versions, `xcodebuild` may warn: ... xcodebuild[...] DVTAssertions: Warning ... Teach RunCMake to drop such incidental lines before matching against expected output.
-rw-r--r--Tests/RunCMake/RunCMake.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake
index 8939cb7..fcf904e 100644
--- a/Tests/RunCMake/RunCMake.cmake
+++ b/Tests/RunCMake/RunCMake.cmake
@@ -201,6 +201,8 @@ function(run_cmake test)
"|ic(p?c|l): remark #10441: The Intel\\(R\\) C\\+\\+ Compiler Classic \\(ICC\\) is deprecated"
"|[^\n]*install_name_tool: warning: changes being made to the file will invalidate the code signature in:"
+ "|[^\n]*(createItemModels|_NSMainThread|Please file a bug at)"
+ "|[^\n]*xcodebuild[^\n]*DVTAssertions: Warning"
"|[^\n]*xcodebuild[^\n]*DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default"
"|[^\n]*xcodebuild[^\n]*DVTPlugInManager"
"|[^\n]*xcodebuild[^\n]*DVTSDK: Warning: SDK path collision for path"