diff options
author | Brad King <brad.king@kitware.com> | 2023-05-09 13:04:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-09 13:09:12 (GMT) |
commit | c78be340ba110366f59ccfd4dc140e5ac31191d9 (patch) | |
tree | ee9f548b0b85c1e50bf9a8d0dd8c97034c33e0b5 /Tests | |
parent | b2d689bc5abf027e6650cb8d68c9859249a0ea6f (diff) | |
download | CMake-c78be340ba110366f59ccfd4dc140e5ac31191d9.zip CMake-c78be340ba110366f59ccfd4dc140e5ac31191d9.tar.gz CMake-c78be340ba110366f59ccfd4dc140e5ac31191d9.tar.bz2 |
Tests: Teach RunCMake to ignore Intel Fortran remark 10440
The Intel Fortran compiler may remark:
ifx: remark #10440: Note that use of a debug option without any
optimization-level option will turnoff most compiler optimizations
similar to use of '-O0'
Teach RunCMake to drop such incidental lines before matching against
expected output.
This extends commit b2d030e8fe (Tests: Teach RunCMake to ignore Intel
-Rdebug-disables-optimization remarks, 2022-06-14, v3.26.0-rc1~395^2)
to cover the `ifx` Fortran compiler too.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/RunCMake.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index 18dde94..9e5f531 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -168,6 +168,7 @@ function(run_cmake test) "|[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" + "|ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff 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" |