diff options
author | Brad King <brad.king@kitware.com> | 2023-09-22 19:15:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-26 14:04:07 (GMT) |
commit | e0765c2c4620ccd4b86dfd05ba051ca577ab88c3 (patch) | |
tree | f0a0b2e1e8536bdf744b6ebea6a57add038f911c | |
parent | 5a79ea2799e27dc78d71ad71cbf7009416e98076 (diff) | |
download | CMake-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.cmake | 2 |
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" |