[Insight-developers] Warning suppressions with ctest

Bill Lorensen bill.lorensen at gmail.com
Fri Apr 15 12:21:58 EDT 2011


Dave,

This build:
http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=976528
is not suppressing warnings like:
/usr/bin/ranlib: file:
../../../../../../lib/libitkvcl-4.0.a(vcl_string_instances.cxx.o) has
no symbols

My suppression re looks like:
"ranlib:.*file:.*has no symbols"

I have a small program that uses the kwsys regex code and the line is
matched properly.

Bill


On Thu, Apr 14, 2011 at 1:32 PM, David Cole <david.cole at kitware.com> wrote:
> Looks like the CDash at home builds are doing these two lines in the wrong order:
>
>  ctest_read_custom_files(${CTEST_BINARY_DIRECTORY})
>  ctest_configure(RETURN_VALUE res)
>
> The reading has to be done after configure, since we're configuring
> the file that is to be read...
>
> I've swapped those two lines in the CDash server's master CDash at home
> ITK script. Future builds should properly suppress those warnings.
>
>
> Thanks,
> David
>
>
> On Thu, Apr 14, 2011 at 12:33 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> Folks,
>>
>> I have updated CTestCustom.cmake.in
>>
>> This build:
>> http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=972376
>>
>> has lines like:
>>
>> /usr/bin/ranlib: file:
>> ../../../../../../lib/libitkvcl-4.0.a(vcl_string_instances.cxx.o) has
>> no symbols
>>
>> that should be suppressed by:
>>
>> ranlib:.*file:.*has no symbols
>>
>> but they still show up in the warnings.
>>
>> I wrote a small program that uses kwsys's RegularExpression and
>> verified that the suppression should work.
>>
>> Ideas?
>>
>> Bill
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-developers
>>
>


More information about the Insight-developers mailing list