Great!

These look like the important lines to fix my coverage issue with Superbuilds:

      # HACK Unfortunately ctest_coverage ignores the BUILD argument, try to 
force it...
      file(READ ${slicer_build_dir}/CMakeFiles/TargetDirectories.txt 
slicer_build_coverage_dirs)
      file(APPEND "${CTEST_BINARY_DIRECTORY}/CMakeFiles/TargetDirectories.txt" 
"${slicer_build_coverage_dirs}")

Thanks,
Brad

On Apr 25, 2012, at 12:45 PM, Jean-Christophe Fillion-Robin wrote:

> Hi Brad, 
> 
> Consider looking at 
> https://github.com/Slicer/Slicer/blob/master/CMake/SlicerDashboardDriverScript.cmake#L246
> 
> Hth
> Jc
> 
> On Tue, Apr 24, 2012 at 9:13 AM, Bradley Lowekamp <blowek...@mail.nih.gov> 
> wrote:
> Hello,
> 
> Are both of these project using SuperBuilds?
> 
> I know with SimpleITK I was unable to get coverage to work in the SuperBuild 
> structure. To get coverage we are doing the project, with its self not being 
> an ExternalProject. However, valgrind works just fine in the Superbuild 
> structure. I didn't see nightly build scripts attached to the ANTS or BRAIN 
> project so I am only guessing here.
> 
> Brad
> 
> On Apr 24, 2012, at 7:32 AM, David Cole wrote:
> 
>> Ugh. You're probably doing everything right, and there's just a bug of some 
>> sort. Unfortunately, debugging these things is neither easy nor fun.
>> 
>> First, look for Coverage*.log files in the Testing/ subdirectories of your 
>> build tree. Are there any errors mentioned in there?
>> 
>> Next, verify that there are some *.gcda files in the build tree:
>>   find . -name *.gcda
>> 
>> There is a known/reported issue with the coverage not reporting correctly 
>> right now for gcc 4.7, but this is the first problem I've heard of with an 
>> earlier gcc...
>> 
>>   http://public.kitware.com/Bug/view.php?id=13121
>> 
>> 
>> 
>> On Mon, Apr 23, 2012 at 5:18 PM, Kent Williams <nkwmailingli...@gmail.com> 
>> wrote:
>> cmake: 2.8.6
>> gcc/g++: 4.4.6-3
>> Red Hate Enterprise Linux 6.2
>> 
>> I follow the instructions here: http://www.cmake.org/Wiki/CTest/Coverage
>> 
>> And I have 2 different dashboards that report zero coverage:
>> 
>> http://testing.psychiatry.uiowa.edu/CDash/index.php?project=BRAINSStandalone
>> http://testing.psychiatry.uiowa.edu/CDash/index.php?project=ANTS
>> 
>> I don't know what's going on because I remember coverage working, and
>> it's obviously doing something for other projects, e.g. ITK:
>> http://public.kitware.com/dashboard.php?name=itk
>> 
>> Call me an idiot, but I can follow instructions, and following the
>> instructions I can find isn't doing the trick.
>> --
>> 
>> 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
>> 
>> --
>> 
>> 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
> 
> ========================================================
> Bradley Lowekamp  
> Medical Science and Computing for
> Office of High Performance Computing and Communications
> National Library of Medicine 
> blowek...@mail.nih.gov
> 
> 
> 
> 
> --
> 
> 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
> 
> 
> 
> -- 
> +1 919 869 8849
> 

========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
blowek...@mail.nih.gov



--

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

Reply via email to