Brad King b5c7835e27 Merge topic 'cuda_tests_now_explain_why_they_fail' 9 years ago
..
AliasTarget 88e1c54a7c Merge topic 'use-string-append' 9 years ago
Architecture d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
ArgumentExpansion 9db3116226 Remove CMake-language block-end command arguments 13 years ago
Assembler d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
BuildDepends d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
BundleGeneratorTest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
BundleTest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
BundleUtilities d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CFBundleTest e36e5a2680 Xcode: Properly handle BUNDLE_EXTENSION 9 years ago
CMakeCommands d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CMakeLib 2ed473b3b8 execute_process: Add ENCODING option for Windows child process output 9 years ago
CMakeOnly 5c6c0344d3 C# support: add compiler detection for MSVC 9 years ago
CMakeTestAllGenerators 0baf5659c6 Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators 14 years ago
CMakeTestMultipleConfigures 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CMakeTests 60939702e1 file: Add support for SHA-3 algorithms 9 years ago
COnly d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CPackComponents 2bdba83e4b issues: update references to the CMake issue tracker 9 years ago
CPackComponentsDEB 1ef45a30aa Revert "CPack/DEB: Make package description variable precedence match RPM" 9 years ago
CPackComponentsForAll adbd3985f8 CPack/Deb possibility to change package name 9 years ago
CPackComponentsPrefix 7c103be8de CPack: Enable DEB and RPM tests more reliably 10 years ago
CPackTestAllGenerators 587b7b6f5e Tests: Use the right path to CPack value for running CPack tests 13 years ago
CPackWiXGenerator d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestBuildCommandProjectInSubdir 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables 11 years ago
CTestConfig d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestCoverageCollectGCOV d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestLimitDashJ 2bdba83e4b issues: update references to the CMake issue tracker 9 years ago
CTestScriptMode 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CTestTest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTest2 da98b89612 Tests: In CTestTest2 skip the kwsys.testProcess-10 test that leaks 10 years ago
CTestTestBadExe 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestBadGenerator 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestChecksum 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestCostSerial d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestCrash d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestCycle 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestDepends 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestEmptyBinaryDirectory 9d9f102f53 Tests: added test for ctest_empty_binary_directory() 12 years ago
CTestTestFailure d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestFdSetSize d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestLabelRegExp 887532f0f0 CTest: Fix combined inclusive/exclusive label regular expressions 11 years ago
CTestTestLaunchers 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestMissingDependsExe 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 years ago
CTestTestParallel d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestResourceLock d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestRunScript 77543bde41 Convert CMake-language commands to lower case 13 years ago
CTestTestScheduler d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestSerialInDepends ff59365f8b CTest: fix dashboard issues associated with the ctest-fix-run-serial topic 12 years ago
CTestTestSerialOrder 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 years ago
CTestTestSkipReturnCode 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestStopTime 02d177c9cc Add additional <= and >= comparison operators 9 years ago
CTestTestSubdir 09ab207c66 Tests: Add generator platform support 11 years ago
CTestTestTimeout d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestUpload d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CTestTestVerboseOutput 874fdd914a CTest: Output test-specific env vars in verbose mode (#15446) 10 years ago
CTestTestZeroTimeout d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CheckCompilerRelatedVariables 65624c39e3 VS14: Add Visual Studio 14 generator (#14982) 11 years ago
CoberturaCoverage 50daf239b0 CTest: Generalize Cobertura coverage format handling 11 years ago
CommandLineTest 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CompatibleInterface d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CompileCommandOutput d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CompileDefinitions d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CompileFeatures ae1a6815b6 Features: Add infrastructure for C++ 17 language standard 9 years ago
CompileOptions d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Complex 02d177c9cc Add additional <= and >= comparison operators 9 years ago
ComplexOneConfig 02d177c9cc Add additional <= and >= comparison operators 9 years ago
ConfigSources bb5905bb13 cmTarget: Don't allow relative paths in INTERFACE_SOURCES 11 years ago
Contracts da7276cf94 Replace http://www.cmake.org URLs with https://cmake.org 10 years ago
CrossCompile 77543bde41 Convert CMake-language commands to lower case 13 years ago
Cuda c59811a233 CUDA: Tests now state why they are failing when no CUDA card is found. 9 years ago
CudaOnly c59811a233 CUDA: Tests now state why they are failing when no CUDA card is found. 9 years ago
CustComDepend d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CustomCommand 7a649111cd Use string(APPEND) in Tests 9 years ago
CustomCommandByproducts d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CustomCommandWorkingDirectory 77543bde41 Convert CMake-language commands to lower case 13 years ago
CxxDialect 60a981ea8e Features: Enable compiler extensions by default. 11 years ago
CxxOnly d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CxxSubdirC d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
DelphiCoverage 3cd2e0e2d5 Tests: Fix DelphiCoverage test file selection 10 years ago
Dependency d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
DoubleProject 5badf5f734 Fix the case where cmake --build failed with two project cmds in one file. 14 years ago
EmptyDepends 223850576b Watcom: Avoid prompt from wmake about dll with no exports... 13 years ago
EmptyLibrary 220c5dc45a Add test that CMake errors with empty libs 15 years ago
EmptyProperty d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Environment d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
ExportImport d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
ExternalOBJ 9db3116226 Remove CMake-language block-end command arguments 13 years ago
ExternalProject 2be9d85af8 ExternalProject: Allow passing config flags to git clone 9 years ago
ExternalProjectLocal 4deaa25f46 ExternalProject: Fix UPDATE_DISCONNECTED with empty update steps 9 years ago
ExternalProjectSourceSubdir a8345d65f3 ExternalProject: Add SOURCE_SUBDIR option 9 years ago
ExternalProjectSubdir b42866a34a Drop Visual Studio 6 generator 9 years ago
ExternalProjectUpdate bdca68388b ExternalProject: Always run update step with non-empty UPDATE_COMMAND 9 years ago
FindBZip2 069cac584f Tests: Add FindBZip2 unit tests 9 years ago
FindBoost d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindGSL d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindGTK2 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindGTest 99afe23513 Tests: Add tests for FindGTest 10 years ago
FindICU 0e9e6aa85d Tests: Run clang-format on FindICU test code 9 years ago
FindJsonCpp a576844263 FindJsonCpp: Drop new module due to upstream jsoncpp providing package 10 years ago
FindLTTngUST e1c7747253 Format include directive blocks and ordering with clang-format 9 years ago
FindLibRHash 71180fc8aa FindLibRHash: Add module to find the librhash package 9 years ago
FindLibUV e56aa46297 FindLibUV: Add module to find libuv package 9 years ago
FindMatlab bf09271b65 FindMatlab: adding handling of component "MAT" 9 years ago
FindModulesExecuteAll d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindOpenCL 3b2844328c Tests/FindOpenCL: Run clang-format to fix style 9 years ago
FindOpenGL 027ce359ff FindOpenGL: Provide imported targets for GL and GLU 9 years ago
FindOpenSSL d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindPNG d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindPackageModeMakefileTest fbc1b75c26 Test: Remove condition for CMake version no longer supported 9 years ago
FindPackageTest 31be918b0b find_package: Optionally sort globbed directories in a meaningful order 9 years ago
FindTIFF 7959d51847 FindTIFF: Correct variable names in unit test 9 years ago
FindThreads fff9434d45 FindThreads: officially announce it works with only C++ enabled 10 years ago
FindVulkan b8a00b6721 Tests/FindVulkan: Run clang-format 9 years ago
FindXalanC e1c7747253 Format include directive blocks and ordering with clang-format 9 years ago
FindXercesC 5dcc833b28 FindXercesC: Add imported targets and unit test 10 years ago
ForceInclude d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Fortran eb8cd35684 Tests: Split Fortran module testing into separate FortranModules test 9 years ago
FortranC c180f0cbc2 Tests: Fix CMAKE_MAKE_PROGRAM selection in FortranC.Flags test 10 years ago
FortranModules 144cc6f1f9 Ninja: Add source location as include directory for preprocessed files 9 years ago
FortranOnly 54e900abfb CheckFortranCompilerFlag: Add test case 10 years ago
Framework 20278872e3 Ninja: Fix POST_BUILD commands on macOS Frameworks 9 years ago
FunctionTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 years ago
GeneratorExpression 1e4bb35894 Add generator expression support to per-source COMPILE_FLAGS 9 years ago
GhsMulti d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
GhsMultiDuplicateSourceFilenames d7233a0472 GHS: Use shorter object file names on collision 9 years ago
IPO 77543bde41 Convert CMake-language commands to lower case 13 years ago
IncludeDirectories 543dcb0ada Revert "Xcode: Obey SYSTEM keyword for includes (#15687)" 9 years ago
InterfaceLibrary 460052516f Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries 9 years ago
InterfaceLinkLibraries d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
JCTest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
JacocoCoverage c771f9d945 CTest: Fix Jacoco Coverage 10 years ago
Java d91ec04402 Tests/Java: Clean up style of Java test code 9 years ago
JavaExportImport 95d84369b8 Tests: Add test for exported JARs 9 years ago
JavaJavah d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
JavascriptCoverage 220e81345b CTest: Add Javascript coverage parser 11 years ago
Jump d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LibName d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LinkDirectory d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LinkFlags d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LinkLanguage d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LinkLine d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LinkLineOrder d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LinkStatic 29c3edb87a Avoid if() quoted auto-dereference 11 years ago
LoadCommand d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
LoadCommandOneConfig d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
MFC d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
MSManifest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
MacRuntimePath dc6d806660 Add a BUILD_RPATH target property specifying build-tree RPATH entries 9 years ago
MacroTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 years ago
MakeClean 7a649111cd Use string(APPEND) in Tests 9 years ago
MathTest 2810e56182 math(EXPR): Add support for unary `+` and `-` expressions 9 years ago
MissingInstall d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
MissingSourceFile 7af41c3492 Test that missing source mentions directory (#11677) 15 years ago
Module b4ffd26fd8 ExternalData: Add support for SHA-3 algorithms 9 years ago
ModuleDefinition d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
MumpsCoverage 6d66e396a1 CTEST: Fix MUMPS file parser and update test 11 years ago
NewlineArgs d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
ObjC++ 77543bde41 Convert CMake-language commands to lower case 13 years ago
ObjectLibrary d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
OutDir d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
OutOfBinary d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
OutOfSource d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
PDBDirectoryAndName d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
PerConfig d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Plugin 7a649111cd Use string(APPEND) in Tests 9 years ago
Policy0002 65a78ec5b8 Test support for OLD behavior of policy CMP0002 16 years ago
PolicyScope 9db3116226 Remove CMake-language block-end command arguments 13 years ago
PositionIndependentTargets d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
PreOrder d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
PrecompiledHeader d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Preprocess 7a649111cd Use string(APPEND) in Tests 9 years ago
Properties d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
PythonCoverage d0ec3a01a6 Adding support for the Python coverage.py tool. 12 years ago
Qt4And5Automoc 1fc9ecfae6 FindQt4: Make AUTOMOC work regardless which order Qt 4/5 is found. 12 years ago
Qt4Deploy d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Qt4Targets d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
QtAutoUicInterface c2211703d3 QtAutogen: Tests: Don't use std::auto_ptr 9 years ago
QtAutogen 5961db4143 QtAutogen: Tests: Increase minimum required CMake version 9 years ago
QtAutomocNoQt a223a3b65f Automoc: Don't create automoc targets if Qt is not used (#13999) 12 years ago
ReturnTest ddac8d3d2d Fix spelling and typos (affecting binary data / module messages) 12 years ago
RunCMake 1371eec4c3 try_compile: extend CMP0067 to honor language standards for CUDA. 9 years ago
RuntimePath d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SBCS d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SameName d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Server d792491c40 cmake-server: Better error reporting during handshake 9 years ago
SetLang d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Simple d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SimpleCOnly d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SimpleExclude d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SimpleInstall 3a7be4f394 prefer list(APPEND) over string(APPEND) where appropriate 9 years ago
SimpleInstallS2 3a7be4f394 prefer list(APPEND) over string(APPEND) where appropriate 9 years ago
SourceFileProperty b7d760aea2 test: test source file properties with case-insensitivity 11 years ago
SourceGroups d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SourcesProperty bb5905bb13 cmTarget: Don't allow relative paths in INTERFACE_SOURCES 11 years ago
StagingPrefix d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
StringFileTest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SubDir d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SubDirSpaces d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SubProject d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SwiftMix d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SwiftOnly b35568f3f9 Xcode: Add option to set Swift language version 9 years ago
SwigTest 013193d0b0 SwigTest: Update for swig_add_library and add lua example 9 years ago
SystemInformation d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
TargetName d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
TestDriver d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Testing d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
TestsWorkingDirectory d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
TryCompile 7a649111cd Use string(APPEND) in Tests 9 years ago
Tutorial d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Unset 261c248254 unset: Add PARENT_SCOPE option 12 years ago
VSExcludeFromDefaultBuild a6e4e73da3 VS: Add option to put INSTALL target in .sln default build 10 years ago
VSExternalInclude bdc679a8ae VS15: Add Visual Studio 15 generator 9 years ago
VSGNUFortran d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSMASM 7a649111cd Use string(APPEND) in Tests 9 years ago
VSMidl d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSNsightTegra 6739d24030 Tests: Fix VSNsightTegra test on Android NDK r12b 9 years ago
VSProjectInSubdir 1ca93182ad VS: Add test for building MSBuild project in subdir 12 years ago
VSResource d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSResourceNinjaForceRSP 15b3f6f0f1 ninja, rc: ignore CMAKE_NINJA_FORCE_RESPONSE_FILE for RC files 9 years ago
VSWinStorePhone c2c2a2f4c7 Merge topic 'vs-tool-override' 9 years ago
VSWindowsFormsResx d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSXaml d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VariableUnusedViaSet f7438ca7ac Add test for unused detection via setting it 15 years ago
VariableUnusedViaUnset dee19760a7 Fix typo in VariableUnusedViaUnset test 15 years ago
VariableUsage 75bda3864e Add tests for unused command line variables 15 years ago
Visibility d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
WarnUnusedCliUnused d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Wrapping d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
X11 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
XCTest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
iOSNavApp d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
.NoDartCoverage fa73553a59 clean up coverage some 23 years ago
BootstrapTest.cmake e3770c56a8 BootstrapTest: Use --parallel=... argument. 9 years ago
CMakeBuildTest.cmake.in d506fee81c Tests: Use -A option to pass generator platform selection 11 years ago
CMakeCopyright.cmake 2bbf6bd7f8 Copyright.txt: Add test to check year range 12 years ago
CMakeInstall.cmake f2b1d653cf Tests: Launch CMake.Install test through 'cmake --build' 12 years ago
CMakeLists.txt 027ce359ff FindOpenGL: Provide imported targets for GL and GLU 9 years ago
CTestUpdateBZR.cmake.in 7a649111cd Use string(APPEND) in Tests 9 years ago
CTestUpdateCVS.cmake.in 7a649111cd Use string(APPEND) in Tests 9 years ago
CTestUpdateCommon.cmake 7a649111cd Use string(APPEND) in Tests 9 years ago
CTestUpdateGIT.cmake.in 7a649111cd Use string(APPEND) in Tests 9 years ago
CTestUpdateGIT.sh.in c3781efb28 ctest_update: Support Git upstream branch rewrites 15 years ago
CTestUpdateHG.cmake.in 7a649111cd Use string(APPEND) in Tests 9 years ago
CTestUpdateP4.cmake.in 7a649111cd Use string(APPEND) in Tests 9 years ago
CTestUpdateSVN.cmake.in 7a649111cd Use string(APPEND) in Tests 9 years ago
CheckFortran.cmake 86578eccf2 Simplify CMake per-source license notices 9 years ago
EnforceConfig.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 years ago
README 42a81e7119 Add stronger infrastructure for CMake-only tests 13 years ago
bootstrap.bat.in 5e102d5e01 Enable BootstrapTest on MSYS 15 years ago
test_clean.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 years ago

README

If you think about adding a new testcase then here is a small checklist you
can run through to find a proper place for it. Go through the list from the
beginning and stop once you find something that matches your tests needs,
i.e. if you will test a module and only need the configure mode use the
instructions from section 2, not 3.

1. Your testcase can run in CMake script mode, i.e. "cmake -P something"

Put your test in Tests/CMakeTests/ directory as a .cmake.in file. It will be
put into the test binary directory by configure_file(... @ONLY) and run from
there. Use the AddCMakeTest() macro in Tests/CMakeTests/CMakeLists.txt to add
your test to the test runs.

2. Your test needs CMake to run in configure mode, but will not build anything

This includes tests that will build something using try_compile() and friends,
but nothing that expects add_executable(), add_library(), or add_test() to run.

If the test configures the project only once and it must succeed then put it
into the Tests/CMakeOnly/ directory. Create a subdirectory named like your
test and write the CMakeLists.txt you need into that subdirectory. Use the
add_CMakeOnly_test() macro from Tests/CMakeOnly/CMakeLists.txt to add your
test to the test runs.

If the test configures the project with multiple variations and verifies
success or failure each time then put it into the Tests/RunCMake/ directory.
Read the instructions in Tests/RunCMake/CMakeLists.txt to add a test.

3. If you are testing something from the Modules directory

Put your test in the Tests/Modules/ directory. Create a subdirectory there
named after your test. Use the ADD_TEST_MACRO macro from Tests/CMakeLists.txt
to add your test to the test run. If you have put your stuff in
Tests/Modules/Foo then you call it using ADD_TEST_MACRO(Module.Foo Foo).

4. You are doing other stuff.

Find a good place ;) In doubt mail to [email protected] and ask for
advise.