[CMake] CDash Dynamic Analysis

Mika.Rajala at patria.fi Mika.Rajala at patria.fi
Thu Apr 28 00:49:49 EDT 2011


Hi

Another update and a question

I'v reverse engineered and hacked the CDash/CMake/CTest code a bit to see 
how it works.

I'v now come to the conclusion that the best way to handle custom tools 
(style checks, static code analysis) is to use custom builds and custom 
build groups

The issue I currently have is this:

How to generate a custom "Build.xml" file for CDash, based on output of a 
program?

The extreme solution I see is to make my own executable that generates a 
"Build.xml" file as output.

What I'd like to do is to tell CTest to pick up  errors / warnings  from 
line that match with a regular expression i give.

What would be the best way to do this?

-mika




From:   Mika.Rajala at patria.fi
To:     Mika.Rajala at patria.fi
Cc:     cmake at cmake.org, cmake-bounces at cmake.org
Date:   21.04.2011 09:54
Subject:        Re: [CMake] CDash Dynamic Analysis
Sent by:        cmake-bounces at cmake.org



Hi 

I went for the custom DynamicAnalysis.xml thing 

I think I figured out what the file should contain. 

There is a slight problem however. 

The Labels in the defect list of CDash are that of some other tool 

How do I change them? 

-mika 



From:        Mika.Rajala at patria.fi 
To:        Mika.Rajala at patria.fi 
Cc:        cmake at cmake.org, cmake-bounces at cmake.org 
Date:        15.04.2011 15:47 
Subject:        Re: [CMake] CDash Dynamic Analysis 
Sent by:        cmake-bounces at cmake.org 



Hi 

This doesn't seem to be very easy, fun or well documented. 

I'v resolved to looking aroung the CTest source code to see what is going 
on. 



More information about the CMake mailing list