On Mon, Jan 17, 2011 at 8:52 AM, Brad King <brad.k...@kitware.com> wrote: > On 01/14/2011 06:19 PM, Manuel Klimek wrote: >> Attached are 2 patches for caching the defines&flags and introducing >> the options. > > Thanks. > >> I'll look into testing next, any hints for what to look out for would >> be appreciated ;) > > I think the test needs to build one of CMake's current tests, > such as COnly, with the new export option. Then it should parse > the json file and try re-running all the recorded command lines. > > The easiest way to do this is probably to create a new executable > that builds as part of the main CMake build process when the > BUILD_TESTING option is on. It can link to CMakeLib and use > helpers like cmSystemTools::RunSingleCommand to take care of > re-running the children. You'll have to write a tiny json parser > of course.
Since this is a big integration style test, is it also possible to integrate a python test? (the whole test would fit into a few lines of python then) Cheers, /Manuel _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers