[cmake-developers] CTestTestMemcheckDummy* failures during dynamic analysis

Rolf Eike Beer eike at sf-mail.de
Wed Aug 14 09:12:34 EDT 2013


Am 14.08.2013 14:58, schrieb Brad King:
> On 08/13/2013 05:30 PM, Rolf Eike Beer wrote:
>>> *Dynamic analysis tests failing or not run*
>>> CTestTestMemcheckDummyPurify
>>> (http://open.cdash.org/viewDynamicAnalysisFile.php?id=2977143)
>>> CTestTestMemcheckDummyValgrind
>>> (http://open.cdash.org/viewDynamicAnalysisFile.php?id=2977144)
>>> CTestTestMemcheckDummyValgrindIgnoreMemcheck
>>> (http://open.cdash.org/viewDynamicAnalysisFile.php?id=2977146)
>>> CTestTestMemcheckDummyValgrindPrePost
>>> (http://open.cdash.org/viewDynamicAnalysisFile.php?id=2977145)
>> 
>> Can someone explain those to me? I don't understand what's going 
>> wrong there.
> 
> In those submissions the CTestTestMemcheckDummy* tests are running
> under a real valgrind tool.
> 
> From a quick glance it looks like the valgrind tool is inserting its
> report into the output so it doesn't match the expectation regex.
> Can the regex be extended to tolerate this?

The memcheck output is at the beginning at the output, but the test is 
only matching against the end, i.e. it ignores everything trailing. Or 
does valgrind add trailing newlines there?

Eike



More information about the cmake-developers mailing list