Browse Source

Tests: Teach RunCMake to ignore clang unused sanitizer flag warnings

These can show up in Release builds of CMake because some tests still
build Debug.
Brad King 8 years ago
parent
commit
0be7d61abf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Tests/RunCMake/RunCMake.cmake

+ 1 - 0
Tests/RunCMake/RunCMake.cmake

@@ -103,6 +103,7 @@ function(run_cmake test)
     "(^|\n)((==[0-9]+=="
     "|BullseyeCoverage"
     "|[a-z]+\\([0-9]+\\) malloc:"
+    "|clang[^:]*: warning: the object size sanitizer has no effect at -O0, but is explicitly enabled:"
     "|Error kstat returned"
     "|Hit xcodebuild bug"
     "|[^\n]*is a member of multiple groups"