Tests: Teach RunCMake to ignore Intel -Rdebug-disables-optimization remarks

The Intel compiler may remark:

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

Teach RunCMake to drop such incidental lines before matching against
expected output.
This commit is contained in:
Brad King
2022-06-14 14:38:36 -04:00
parent fd57ced75a
commit b2d030e8fe

View File

@@ -155,6 +155,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: remark: 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"