Commit 7f0de34e authored by Brad King's avatar Brad King 💬
Browse files

Tests: Teach RunCMake to ignore Intel -Wdebug-disables-optimization warnings

The Intel compiler may warn:

    icpx: warning: Note that use of '-g' without any optimization-level
    option will turn off most compiler optimizations similar to use of
    '-O0' [-Wdebug-disables-optimization]

Teach RunCMake to drop such incidental lines before matching against
expected output.
parent ca8a5b05
......@@ -153,6 +153,7 @@ function(run_cmake test)
"|BullseyeCoverage"
"|[a-z]+\\([0-9]+\\) malloc:"
"|clang[^:]*: warning: the object size sanitizer has no effect at -O0, but is explicitly enabled:"
"|icp?x: warning: Note that use of .-g. without any optimization-level option will turn off most compiler optimizations"
"|lld-link: warning: procedure symbol record for .* refers to PDB item index [0-9A-Fa-fx]+ which is not a valid function ID record"
"|Error kstat returned"
"|Hit xcodebuild bug"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment