Bill, I am having all kinds of trouble with the extended Ctest scripting mode.
Here are just some of the problems: 1) Can't get memory checking to work 2) Can't get coverage testing to work 3) Getting submition errors like: Error when triggering: ?xmlfile=godel.sandia.gov___Linux-gcc-serial-debug-new___20081218-1501-Experimental___XML___Build.xml Error message was: Couldn't resolve host '' Problems when triggering via HTTP Is there some way to go back to the standard Ctest scripting mode for testing where you can change how the initial Ctest input files are provided? One idea would be to just use left-over Ctest input files from the last successful configure that occurred in the past. How hard would this be to implement? >From what I have seen so far, I am just not sure that extended Ctest scripting >is worth just to get around the configure problem. Thanks, - Ross > -----Original Message----- > From: Bill Hoffman [mailto:[email protected]] > Sent: Wednesday, December 17, 2008 3:27 PM > To: Bartlett, Roscoe A > Cc: [email protected] > Subject: Re: [CMake] Setting initial CMake cache in extended > Ctest scripting > > Bartlett, Roscoe A wrote: > > Hello, > > > > How do I set the initial cache when using extended Ctest > scripting? I > > tried setting the variable CTEST_INITIAL_CACHE but it seems to be > > getting ignored. I just set: > > > > SET(CTEST_CMAKE_GENERATOR "Unix Makefiles") > > > > along with CTEST_INITIAL_CACHE and I expected the > CTEST_COFNIGURE(...) > > command to just work. > > > > Are there some examples out there of real extended Ctest > scripts that > > I could look at? I tend not to trust what gets written in > untestable > > documentation. > > We use something like this: > > # this is the initial cache to use for the binary tree, be > careful to escape # any quotes inside of this string if you > use it file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" " > SITE:STRING=${hostname} > BUILDNAME:STRING=${BUILDNAME} > DART_ROOT:PATH= > CVSCOMMAND:FILEPATH=${CTEST_UPDATE_COMMAND} > DROP_METHOD:STRING=http > CTEST_TEST_CTEST:BOOL=1 > CVS_UPDATE_OPTIONS:STRING=${CTEST_UPDATE_OPTIONS} > DART_TESTING_TIMEOUT:STRING=${CTEST_TEST_TIMEOUT} > ") > > Here is a script: > http://www.cdash.org/CDash/viewNotes.php?buildid=231851 > > -Bill > > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
