Browse Source

Tests: Teach RunCMake to ignore Xcode install_name_tool signature warnings

The `install_name_tool` may warn:

    install_name_tool: warning: changes being made to the file will
    invalidate the code signature in: ...

Teach RunCMake to drop such incidental lines before matching against
expected output.
Brad King 5 years ago
parent
commit
928ca50b6f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Tests/RunCMake/RunCMake.cmake

+ 1 - 0
Tests/RunCMake/RunCMake.cmake

@@ -152,6 +152,7 @@ function(run_cmake test)
     "|Please obtain a new version at"
     "|Please obtain a new version at"
     "|contact PGI Sales at"
     "|contact PGI Sales at"
 
 
+    "|[^\n]*install_name_tool: warning: changes being made to the file will invalidate the code signature in:"
     "|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type"
     "|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type"
     "|[^\n]*objc[^\n]*: Class AMSupportURL[^\n]* One of the two will be used. Which one is undefined."
     "|[^\n]*objc[^\n]*: Class AMSupportURL[^\n]* One of the two will be used. Which one is undefined."
     "|[^\n]*is a member of multiple groups"
     "|[^\n]*is a member of multiple groups"