This is almost perfect for my needs with a bit of trivial tweaking. I wish support was built-in to cmake just like valgrind-on-nightly-test was. Oh well.
Thank you so much, -Clark On 06/07/10 17:46, Ben Boeckel wrote: > Clark Gaebel <cg.wowus...@gmail.com> wrote: > >> Hello, >> >> I've currently set up CMake and CTest for my building and testing needs, >> but CDash just isn't for me. How do I set up CTest to run all the tests >> in Valgrind? Again, I don't want to use CDash - just CTest. >> >> Also, it'd be great if I get output on leaks, and silence when >> everything's alright. >> > I also wanted this, and I ended up writing my own targets for it (it > includes other stuff such as callgrind and actual handling of the tests > themselves). The most recent iteration of it is available at: > > git clone git://chasmd.org/chasmd.git > > The cmake/test.cmake file is the one with the macros to create the > targets and example usage is in the test/ directory. > > The output is dumped to files for easier reference rather than to the > terminal, but I'm sure a target that greps the logs for important > strings and errors on that wouldn't be hard to make. > > Hope this helps. > > --Ben > > _______________________________________________ > 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 > -- Regards, -Clark _______________________________________________ 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