[CMake] [ctest] CTEST_CUSTOM_TESTS_IGNORE in CTestCustom.cmake ignored in script mode (ctest -S)

Bill Hoffman bill.hoffman at kitware.com
Mon Nov 16 12:07:08 EST 2009


Maik Beckmann wrote:
> 2009/11/14 Bill Lorensen <bill.lorensen at gmail.com>:
>> IN itk this is what we typically do in ctest scripts.
>>
>> After
>> CTEST_CONFIGURE (BUILD "${CTEST_BINARY_DIRECTORY}")
>> place
>> CTEST_READ_CUSTOM_FILES("${CTEST_BINARY_DIRECTORY}")
>>
> 
> Sweet! This solves the CTestCustom.cmake issue with ctest -S.
> 
> Is there a similar workaround for
>   http://public.kitware.com/Bug/view.php?id=5041
> ? (ctest -S fails on initial checkout, because it doesn't find
> CTestConfig.cmake, since it isn't present when ctest is started)
> 
The following script works on a clean tree no problem:


http://my.cdash.org/viewNotes.php?buildid=38044

If nothing is checked out, it will checkout the code, then read the 
config file after that.  I think I may close that bug.  Can you describe 
exactly what is not working for you?


-Bill


More information about the CMake mailing list