diff options
author | Brad King <brad.king@kitware.com> | 2023-05-09 13:19:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-09 13:23:36 (GMT) |
commit | efadf839be97687f8797a95a0c888febf0e3b05f (patch) | |
tree | f207ac13748220e1406579cbe50df5000e583dc6 /Tests/RunCMake | |
parent | c78be340ba110366f59ccfd4dc140e5ac31191d9 (diff) | |
download | CMake-efadf839be97687f8797a95a0c888febf0e3b05f.zip CMake-efadf839be97687f8797a95a0c888febf0e3b05f.tar.gz CMake-efadf839be97687f8797a95a0c888febf0e3b05f.tar.bz2 |
Tests: Teach RunCMake to ignore LLVMFlang -flang-experimental-exec warning
This flag is needed for now to tell `flang-new` to support creating
executables. In our CI job we always pass this flag, but it is not
always used. The compiler may warn:
flang-new: warning: argument unused during compilation: '-flang-experimental-exec'
Teach RunCMake to drop such incidental lines before matching against
expected output.
Diffstat (limited to 'Tests/RunCMake')
-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 9e5f531..bc4a330 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -167,6 +167,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:" + "|flang-new: warning: argument unused during compilation: .-flang-experimental-exec." "|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" |