[CMake] Bullseye test coverage problem
Scott Fowler
s.fowler at tecplot.com
Mon Apr 26 14:06:30 EDT 2010
I've just downloaded Bullseye and am having some issues when running the Experimental build target.
My project consists of a main application and a couple unit test buildables, which are executed via CTest during the main application build. I can rebuild by main application just fine and coverage results are created, but when I run the Experimental build target I get the error "error 2: Wrong coverage file. Use same coverage file for building and running."
I've followed the instructions here (http://www.cmake.org/Wiki/CTest:Coverage) to the best of my ability. I'm fairly new to CMake and CTest, so any input would help.
Also, it there an example of sparing out results? Ultimately I'd like to get these results on our CDash dashboard and I don't want my unit test source code to be included in the coverage results. My directory structure is as follows:
[DIR] someLibrary
myClass.cpp
myClass.h
[DIR] unittest <-- How do I spareout these contents in the coverage results
myClassTest.cpp
Thanks,
Scott
________________________________
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are NOT the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying this e-mail is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100426/2c34afec/attachment.htm>
More information about the CMake
mailing list