[CMake] Coverage -- What is happening when you run a binary more
than once?
Andy Cedilnik
andy.cedilnik at kitware.com
Thu Apr 20 11:20:52 EDT 2006
Hi Kent,
It looks like it accumulates the values (it does not seem to overwrite).
Andy
Kent Williams wrote:
>
> For the NIfTI regression tests, we run a binary for each ADD_TEST --
> i.e. we build, e.g. a program called nifti1_test. Then each test is
> of the form
>
> ADD_TEST(exampletest $(NIFTIUTILS_BINARY_DIR}/nifti1_test --testname
> exampletest)
>
> There are about 10 different executions of nifti1_test every time you
> do a 'make test'. When you have coverage turned on, doesn't each
> execution overwrite the previous coverage data file?
>
> If so, we're only getting coverage results for the last execution of
> nifti1_test, or am I missing something?
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
--
Andy Cedilnik
Kitware Inc.
More information about the CMake
mailing list