[CMake] ifort warnings not detected in cdash report
Yngve Inntjore Levinsen
yngve.levinsen at gmail.com
Mon Jun 24 05:19:07 EDT 2013
Hi,
Based on the response from Nils, I edited the CTEST_CUSTOM_WARNING_MATCH
in my test script, and now I get the warnings reported. Thanks!
I'm not very good in writing regular expressions, so I don't have any
particularly good suggestions. I used this which I think is much too
specific:
"ifort: command line warning \#[0-9]+:"
Maybe something along the lines of
"warning \#[0-9]+:"
could be added?
Cheers,
Yngve
Den 21. juni 2013 14:46, skrev Nils Gladitz:
> I think the list of regular expressions used to match warnings is
> (Source/CTest/cmCTestBuildHandler.cxx):
>
> "([^ :]+):([0-9]+): warning:",
> "([^ :]+):([0-9]+): note:",
> "^cc[^C]*CC: WARNING File = ([^,]+), Line = ([0-9]+)",
> "^ld([^:])*:([ \\t])*WARNING([^:])*:",
> "([^:]+): warning ([0-9]+):",
> "^\"[^\"]+\", line [0-9]+: [Ww](arning|arnung)",
> "([^:]+): warning[ \\t]*[0-9]+[ \\t]*:",
> "^(Warning|Warnung) ([0-9]+):",
> "^(Warning|Warnung)[ :]",
> "WARNING: ",
> "([^ :]+) : warning",
> "([^:]+): warning",
> "\", line [0-9]+\\.[0-9]+: [0-9]+-[0-9]+ \\([WI]\\)",
> "^cxx: Warning:",
> ".*file: .* has no symbols",
> "([^ :]+):([0-9]+): (Warning|Warnung)",
> "\\([0-9]*\\): remark #[0-9]*",
> "\".*\", line [0-9]+: remark\\([0-9]*\\):",
> "cc-[0-9]* CC: REMARK File = .*, Line = [0-9]*",
> "^CMake Warning.*:",
> "^\\[WARNING\\]"
>
> I don't see any of those matching the warning you provided ... though
> I may just be overlooking it.
>
> Setting CTEST_CUSTOM_WARNING_MATCH might allow you to define
> additional regular expressions to match warnings:
> www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
>
> If you find a regexp that works nicely it might be possible to add it
> to the default list as well(?).
>
> Nils
>
> On 06/21/2013 02:11 PM, Yngve Inntjore Levinsen wrote:
>> Hi,
>>
>> I just noticed now by running one of our nightly tests manually, that
>> the warnings emitted by ifort (Intel fortran compiler) are not
>> 'parsed/detected' in the cdash report. The warnings look like this:
>> ...
>> ifort: command line warning #10212: -fp-model precise evaluates in
>> source precision with Fortran.
>> ...
>>
>> The report on our cdash server however, reports 0 warnings when using
>> ifort. Is this expected?
>>
>> Cheers,
>> Yngve
>> --
>>
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list