Parcourir la source

Tests: Teach RunCMake to ignore Xcode DVTCoreDeviceEnabledState warnings

On some Xcode versions, `xcodebuild` may warn:

    ... xcodebuild[...] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default

Teach RunCMake to drop such incidental lines before matching against
expected output.
Brad King il y a 2 ans
Parent
commit
3bb46b29fd
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Tests/RunCMake/RunCMake.cmake

+ 1 - 0
Tests/RunCMake/RunCMake.cmake

@@ -163,6 +163,7 @@ function(run_cmake test)
     "|contact PGI Sales at"
 
     "|[^\n]*install_name_tool: warning: changes being made to the file will invalidate the code signature in:"
+    "|[^\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]*Requested but did not find extension point with identifier"