From f6f1c5ca1f48603462a85a5f826e3481af3cadd9 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 19 Sep 2025 08:05:47 -0400 Subject: Tests: Teach RunCMake to ignore Xcode an IDERunDestination warning On some Xcode versions, `xcodebuild` may warn: ... xcodebuild[...] IDERunDestination: ... Teach RunCMake to drop such incidental lines before matching against expected output. Backport commit edaa6ed06a (Tests: Teach RunCMake to ignore Xcode an IDERunDestination warning, 2025-09-19, v4.1.2~9^2~1) to CMake 3.31. --- Tests/RunCMake/RunCMake.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index 1601561..44d4d41 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -210,6 +210,7 @@ function(run_cmake test) "|[^\n]*xcodebuild[^\n]*DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default" "|[^\n]*xcodebuild[^\n]*DVTPlugInManager" "|[^\n]*xcodebuild[^\n]*DVTSDK: Warning: SDK path collision for path" + "|[^\n]*xcodebuild[^\n]*IDERunDestination: Supported platforms for the buildables in the current scheme is empty" "|[^\n]*xcodebuild[^\n]*Requested but did not find extension point with identifier" "|[^\n]*xcodebuild[^\n]*nil host used in call to allows.*HTTPSCertificateForHost" "|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type" -- cgit v0.12