Re: [CMake] making the build fail

2012-01-09 Thread David Cole
Not directly... Not with existing ctest. But after the ctest_coverage call, there should be a file in your binary tree called something like "Testing/20120109-0100/Coverage.xml" -- it is the xml file that will be submitted to CDash reporting what files have what percent coverage. Near the bottom o

[CMake] making the build fail

2012-01-09 Thread Tom Deblauwe
Hello list, Is there a way when doing a coverage build and test run(with bullseye) to make the build fail when the total coverage percentage is below a certain treshold? for example getting the resulting percentage in your ctest script after the "ctest_coverage()" call. Best regards Tom, --