summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-14 18:38:36 (GMT)
committerBrad King <brad.king@kitware.com>2022-10-27 12:17:54 (GMT)
commitb2d030e8fe4147890bfb1e49ee9c8b1ca0dc348b (patch)
treeb5dbac11cf385f2adaa44556214e9a0ff5c0c29f /Tests
parentfd57ced75a72cd73d2fd01ec0dd9c5cd552f029d (diff)
downloadCMake-b2d030e8fe4147890bfb1e49ee9c8b1ca0dc348b.zip
CMake-b2d030e8fe4147890bfb1e49ee9c8b1ca0dc348b.tar.gz
CMake-b2d030e8fe4147890bfb1e49ee9c8b1ca0dc348b.tar.bz2
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.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/RunCMake.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake
index ba9cc3b..cc754e8 100644
--- a/Tests/RunCMake/RunCMake.cmake
+++ b/Tests/RunCMake/RunCMake.cmake
@@ -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"