[CMake] ctest: CTestCustom.ctest - howto activate?

Andy Cedilnik andy.cedilnik at kitware.com
Tue Oct 18 09:03:56 EDT 2005


Hi Jan,

It has to be in the build directory.

Also, CTest 2.0 had a bug and it did not read the root build directory.
If you are using CTest 2.0, just copy file into a subdirectory.

       Andy

Jan Woetzel wrote:

> Hi,
> I want to use a "CTestCustom.ctest" file as described in
> http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
>
> (1) What has to be done to let ctest use that file?
> I created a file, named it "CTestCustom.ctest" and placed in the top
> directory of the build tree.
> It us setting CTEST_CUSTOM_TESTS_IGNORE.
> I expected that tests matching CTEST_CUSTOM_TESTS_IGNORE will not be
> executed.
> However, they are still run.
>
> (2) Do I have to use additional options on the ctest call to really
> use the additional custom settings?
>
> Jan.
>


-- 
Andy Cedilnik
Kitware Inc.



More information about the CMake mailing list