Stephen Kelly f0005bb484 Tests: Verify generate-time policy scope behavior. 10 anni fa
..
AliasTarget b0f277db38 HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards 11 anni fa
Architecture 765b46d1e1 Xcode: Fix test architecture selection for Xcode >= 5 12 anni fa
ArgumentExpansion 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
Assembler 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
BuildDepends 783c375766 Tests: Extend BuildDepends test to cover OBJECT_DEPENDS 10 anni fa
BundleGeneratorTest 77543bde41 Convert CMake-language commands to lower case 13 anni fa
BundleTest d25dbc9059 Tests/BundleTest: Drop use of ChangeLog.txt 11 anni fa
BundleUtilities 50e261ddb6 OSX: Warn when attempting to change runtime paths on OS X 10.5 11 anni fa
CFBundleTest b189c5994d Tests: Run CFBundleTest only with valid configuration 11 anni fa
CMakeCommands 0778016a0b Tests: Do not try to use invalid "ld -v" flag on Solaris 10 anni fa
CMakeLib 356c26ebdf cmSystemTools: Teach RunSingleCommand to separate stdout and stderr 10 anni fa
CMakeOnly 3723fe94e6 Merge topic 'CheckCompilerFlag-do-not-use-FLAGS' 10 anni fa
CMakeTestAllGenerators 0baf5659c6 Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators 14 anni fa
CMakeTestMultipleConfigures 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
CMakeTests e5ca59b456 Tests: Move command failure cases into RunCMake infrastructure 10 anni fa
COnly 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
CPackComponents 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
CPackComponentsDEB e3f522f6e4 CPack/DEB per component dependencies 10 anni fa
CPackComponentsForAll 76080c32e1 CPackRPM content listing refactor 10 anni fa
CPackComponentsPrefix 7c103be8de CPack: Enable DEB and RPM tests more reliably 10 anni fa
CPackTestAllGenerators 587b7b6f5e Tests: Use the right path to CPack value for running CPack tests 13 anni fa
CPackWiXGenerator b633b26308 CPackWiX: Fix test to build with expected config 11 anni fa
CTestBuildCommandProjectInSubdir 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables 11 anni fa
CTestConfig d506fee81c Tests: Use -A option to pass generator platform selection 11 anni fa
CTestCoverageCollectGCOV 9a544f2d98 CTestCoverageCollectGCOV: Support CTEST_CUSTOM_COVERAGE_EXCLUDE 10 anni fa
CTestLimitDashJ e378ba5f39 Add CTestLimitDashJ test (#12904) 13 anni fa
CTestScriptMode 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
CTestTest 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTest2 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestBadExe 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestBadGenerator 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestChecksum 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestCostSerial 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestCrash 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestCycle 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestDepends 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestEmptyBinaryDirectory 9d9f102f53 Tests: added test for ctest_empty_binary_directory() 12 anni fa
CTestTestFailure 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestFdSetSize 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestLabelRegExp 887532f0f0 CTest: Fix combined inclusive/exclusive label regular expressions 11 anni fa
CTestTestLaunchers 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestMissingDependsExe 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 anni fa
CTestTestParallel 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestResourceLock 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestRunScript 77543bde41 Convert CMake-language commands to lower case 13 anni fa
CTestTestScheduler 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestSerialInDepends ff59365f8b CTest: fix dashboard issues associated with the ctest-fix-run-serial topic 12 anni fa
CTestTestSerialOrder 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 anni fa
CTestTestSkipReturnCode 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestStopTime 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestSubdir 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestTimeout 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestUpload 09ab207c66 Tests: Add generator platform support 11 anni fa
CTestTestVerboseOutput 874fdd914a CTest: Output test-specific env vars in verbose mode (#15446) 10 anni fa
CTestTestZeroTimeout 09ab207c66 Tests: Add generator platform support 11 anni fa
CheckCompilerRelatedVariables 65624c39e3 VS14: Add Visual Studio 14 generator (#14982) 11 anni fa
CoberturaCoverage 50daf239b0 CTest: Generalize Cobertura coverage format handling 11 anni fa
CommandLineTest 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
CompatibleInterface 6e7e881c57 Honor $<LINK_ONLY> when checking interface properties 11 anni fa
CompileCommandOutput 77543bde41 Convert CMake-language commands to lower case 13 anni fa
CompileDefinitions 494f6e8d5b Tests: Shorten paths in CompileDefinitions 10 anni fa
CompileFeatures c2d590c957 Features: Update MSVC features for VS 2015 RTM 10 anni fa
CompileOptions fbf7a92975 Makefile: Handle '#' in COMPILE_OPTIONS (#15070) 11 anni fa
Complex d4f032b546 cmState: Restore renamed commands on cleanup. 10 anni fa
ComplexOneConfig 560b3e9f1d Tests: Remove incorrect indentation from Complex test comment 11 anni fa
ConfigSources bb5905bb13 cmTarget: Don't allow relative paths in INTERFACE_SOURCES 11 anni fa
Contracts ad330edaa2 Tests/Contracts: Submit notes with VTK build 12 anni fa
CrossCompile 77543bde41 Convert CMake-language commands to lower case 13 anni fa
CustComDepend 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 anni fa
CustomCommand abec4213d6 Merge topic 'fix-OBJECT_DEPENDS-after-path-normalization' 10 anni fa
CustomCommandByproducts 86032ae0eb ExternalProject: Replace placeholder tokens in BYPRODUCTS 10 anni fa
CustomCommandWorkingDirectory 77543bde41 Convert CMake-language commands to lower case 13 anni fa
CxxDialect 60a981ea8e Features: Enable compiler extensions by default. 11 anni fa
CxxOnly 749584509e Fix CXX/Fortran MODULE flags when enabled before C (#12929) 14 anni fa
CxxSubdirC 07fc7b75ef Tests: Test using objects from a language enabled in a subdirectory (#15325) 11 anni fa
DelphiCoverage 5c31c3e4eb CTest: Add code coverage parser for Pascal/Delphi 11 anni fa
Dependency 4db31095e5 Fix link line order when shared libraries are de-duplicated 11 anni fa
DoubleProject 5badf5f734 Fix the case where cmake --build failed with two project cmds in one file. 14 anni fa
EmptyDepends 223850576b Watcom: Avoid prompt from wmake about dll with no exports... 13 anni fa
EmptyLibrary 220c5dc45a Add test that CMake errors with empty libs 15 anni fa
EmptyProperty 31bd83e9fc set_property: Do not remove a property when APPENDing nothing 12 anni fa
Environment ceaef94ccc ENH: Implement feature request from issue 7885. Allow setting environment variables on a per-test basis for ctest using set_test_properties ENVIRONMENT. 17 anni fa
ExportImport 809159c9b7 Add generator expression support to OUTPUT_NAME target property 10 anni fa
ExternalOBJ 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
ExternalProject 124243c0eb ExternalProject: Add unit tests for GIT_SUBMODULES argument 10 anni fa
ExternalProjectLocal 70c50962fb Tests: Shorten paths in ExternalProjectLocal 10 anni fa
ExternalProjectSubdir e1c6df392b ExternalProject: Allow dependencies on INTERFACE libraries 10 anni fa
ExternalProjectUpdate aba5cec6b2 ExternalProject: Add unit tests for UPDATE_DISCONNECTED 11 anni fa
FindGSL 1b28e3b28b FindGSL: Add module to find the GNU Scientific Library 11 anni fa
FindGTK2 7efef02df2 FindGTK2: Add tests for components and targets in gtk and gtkmm modules 12 anni fa
FindJsonCpp a576844263 FindJsonCpp: Drop new module due to upstream jsoncpp providing package 10 anni fa
FindMatlab bb2a42aeca Tests: Increasing the stability of the FindMatlab.basic_checks test 10 anni fa
FindModulesExecuteAll 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
FindPackageModeMakefileTest b0b4b4602f Remove .* expressions from beginning and end of MATCHES regexs 11 anni fa
FindPackageTest d430cb7c36 Tests: Fix failures when running under the default install prefix (#15566) 10 anni fa
ForceInclude 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
Fortran 0a203db5dc Fortran: Fix passing of preprocessor definitions to dependency scanner 10 anni fa
FortranC 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
FortranOnly 54e900abfb CheckFortranCompilerFlag: Add test case 10 anni fa
Framework 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 anni fa
FunctionTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 anni fa
GeneratorExpression 5de63265e3 Genex: Only evaluate TARGET_OBJECTS to determine target sources. 11 anni fa
GhsMulti 48004d9dbe Add a 'Green Hills MULTI' generator on Windows 10 anni fa
IPO 77543bde41 Convert CMake-language commands to lower case 13 anni fa
IncludeDirectories ee38062be8 IncludeDirectories: Respect SYSTEM flag when using CONFIG genex. 11 anni fa
InterfaceLibrary ac14cbf017 Allow add_dependencies() on INTERFACE libraries (#15414) 10 anni fa
InterfaceLinkLibraries 0400cd5dd1 Make $<LINK_ONLY> available to projects (#14751) 11 anni fa
JCTest 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
JacocoCoverage c771f9d945 CTest: Fix Jacoco Coverage 10 anni fa
Java 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 anni fa
JavascriptCoverage 220e81345b CTest: Add Javascript coverage parser 11 anni fa
Jump 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
LibName 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
LinkDirectory b7deca4a54 Test: Remove obsolete commented code. 12 anni fa
LinkFlags 152dfdab11 Add additonal tests for the linker flags 12 anni fa
LinkLanguage 750eb105c2 Test target link information invalidation 16 anni fa
LinkLine 77543bde41 Convert CMake-language commands to lower case 13 anni fa
LinkLineOrder 77543bde41 Convert CMake-language commands to lower case 13 anni fa
LinkStatic 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
LoadCommand 5c10514059 Tests: Simplify LoadCommand tests 11 anni fa
LoadCommandOneConfig 5c10514059 Tests: Simplify LoadCommand tests 11 anni fa
MFC 0e598b7bcd Tests: Only really run MFC test if we can build MFC apps (#11213) 14 anni fa
MacRuntimePath 09ab207c66 Tests: Add generator platform support 11 anni fa
MacroTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 anni fa
MakeClean a247911a88 Tests: Don't read the LOCATION property from build targets. 12 anni fa
MathTest 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
MissingInstall be0458c562 InstallRules: added new variable to disable generation of install rules 12 anni fa
MissingSourceFile 7af41c3492 Test that missing source mentions directory (#11677) 15 anni fa
Module 0de47b05f7 ExternalData: Add option to disable use of symlinks 10 anni fa
ModuleDefinition 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
MumpsCoverage 6d66e396a1 CTEST: Fix MUMPS file parser and update test 11 anni fa
NewlineArgs 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 anni fa
ObjC++ 77543bde41 Convert CMake-language commands to lower case 13 anni fa
ObjectLibrary 2c470b775a add_library: Allow arbitrary non-linked sources in OBJECT libraries 11 anni fa
OutDir 9a8ab86645 Encoding: Modify tests to work using non-ascii paths. 11 anni fa
OutOfBinary 77543bde41 Convert CMake-language commands to lower case 13 anni fa
OutOfSource 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
PDBDirectoryAndName 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
PerConfig 3e84e78c3f Use a more reliable regex for extracting binary INFO strings 11 anni fa
Plugin b0f277db38 HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards 11 anni fa
Policy0002 65a78ec5b8 Test support for OLD behavior of policy CMP0002 16 anni fa
PolicyScope 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
PositionIndependentTargets fe732264e9 Add the INTERFACE_LIBRARY target type. 12 anni fa
PreOrder 77543bde41 Convert CMake-language commands to lower case 13 anni fa
PrecompiledHeader 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
Preprocess baef72f2b3 Tests: Update Preprocess test for XL compiler limitations 10 anni fa
Properties 4959f3413c cmSourceFileLocation: Collapse full path for directory comparisons. 11 anni fa
PythonCoverage d0ec3a01a6 Adding support for the Python coverage.py tool. 12 anni fa
Qt4And5Automoc 1fc9ecfae6 FindQt4: Make AUTOMOC work regardless which order Qt 4/5 is found. 11 anni fa
Qt4Deploy ab9661c1dd Remove QtGui dependency in Qt4Deploy test and verify QtSql existance. 13 anni fa
Qt4Targets 17c31b8bd4 Qt4: Extend the Qt4Targets test to cover dir and target moc parameters. 11 anni fa
QtAutoUicInterface 98093c45db QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. 12 anni fa
QtAutogen bddfe77d12 Merge topic 'qt-autogen-always-run' 10 anni fa
QtAutomocNoQt a223a3b65f Automoc: Don't create automoc targets if Qt is not used (#13999) 12 anni fa
ReturnTest ddac8d3d2d Fix spelling and typos (affecting binary data / module messages) 12 anni fa
RunCMake f0005bb484 Tests: Verify generate-time policy scope behavior. 10 anni fa
RuntimePath 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
SBCS ba89e92ba6 Visual Studio: Allow setting Single Byte Character Set (#12189) 13 anni fa
SameName 77543bde41 Convert CMake-language commands to lower case 13 anni fa
SetLang 77543bde41 Convert CMake-language commands to lower case 13 anni fa
Simple 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
SimpleCOnly 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
SimpleExclude 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
SimpleInstall c85672634c Tests: Teach SimpleInstall to use "cmake --build" 12 anni fa
SimpleInstallS2 c85672634c Tests: Teach SimpleInstall to use "cmake --build" 12 anni fa
SourceFileProperty b7d760aea2 test: test source file properties with case-insensitivity 11 anni fa
SourceGroups 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 anni fa
SourcesProperty bb5905bb13 cmTarget: Don't allow relative paths in INTERFACE_SOURCES 11 anni fa
StagingPrefix 09ab207c66 Tests: Add generator platform support 11 anni fa
StringFileTest 197a026cfb Fix failing StringFileTest when using unicode characters. 11 anni fa
SubDir 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
SubDirSpaces 3a71d34cf3 Use CMAKE_SYSTEM_NAME instead of CMAKE_SYSTEM where sufficient 11 anni fa
SubProject 790e167718 VS: Fix subproject .sln dependencies on custom targets 11 anni fa
SwiftMix bf11253163 Add rudimentary support for the Apple Swift language with Xcode 10 anni fa
SwiftOnly bf11253163 Add rudimentary support for the Apple Swift language with Xcode 10 anni fa
SwigTest 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
SystemInformation dd043c3f21 Features: Add support for C++14 features. 11 anni fa
TargetName 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
TestDriver 77543bde41 Convert CMake-language commands to lower case 13 anni fa
Testing 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
TestsWorkingDirectory a27edd8a05 Fix XCode -> Xcode typos, notably in man page (#12231) 14 anni fa
TryCompile 29c3edb87a Avoid if() quoted auto-dereference 11 anni fa
Tutorial 36cf8a1eb9 Tests/Tutorial: Fix when USE_MYMATH is OFF 11 anni fa
Unset 261c248254 unset: Add PARENT_SCOPE option 12 anni fa
VSExcludeFromDefaultBuild a6e4e73da3 VS: Add option to put INSTALL target in .sln default build 10 anni fa
VSExternalInclude d506fee81c Tests: Use -A option to pass generator platform selection 11 anni fa
VSGNUFortran 307d45eaf4 Tests/VSGNUFortran: Avoid C++ comment in C code (#13314) 13 anni fa
VSMASM df3b007d7f VS: Add test for MASM support 11 anni fa
VSMidl e33cbda5c4 VSMidl Test: Use correct include_directories with VS6 (#11461) 15 anni fa
VSNsightTegra 8c0afaf450 VS: Add more Nsight Tegra generator Android property settings 10 anni fa
VSProjectInSubdir 1ca93182ad VS: Add test for building MSBuild project in subdir 12 anni fa
VSResource 806609c702 VS: Add /machine: flag to Librarian tool (#11240) 10 anni fa
VSWinStorePhone 4775c90145 VS: Add source file property to set extra hlsl shader flags 10 anni fa
VSWindowsFormsResx 01a9ab0def VS: Add support for XAML source files 10 anni fa
VSXaml 01a9ab0def VS: Add support for XAML source files 10 anni fa
VariableUnusedViaSet f7438ca7ac Add test for unused detection via setting it 15 anni fa
VariableUnusedViaUnset dee19760a7 Fix typo in VariableUnusedViaUnset test 15 anni fa
VariableUsage 75bda3864e Add tests for unused command line variables 15 anni fa
Visibility 700f1c3b2b Honor visibility properties for all target types (#15556) 10 anni fa
WarnUnusedCliUnused 273ecab96d CLI: Suppress the unused warning if the key value pair is cached. 12 anni fa
Wrapping a247911a88 Tests: Don't read the LOCATION property from build targets. 12 anni fa
X11 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
XCTest 87a4b8580c Tests: Add XCTest example to test Frameworks and Cocoa App Bundles 10 anni fa
iOSNavApp 64c9b318bf Xcode: Add test to demonstrate iOS project in Xcode 14 anni fa
.NoDartCoverage fa73553a59 clean up coverage some 23 anni fa
BootstrapTest.cmake 8ee6b47630 Tests: Launch BootstrapTest through cmake instead of ctest 12 anni fa
CMakeBuildTest.cmake.in d506fee81c Tests: Use -A option to pass generator platform selection 11 anni fa
CMakeCopyright.cmake 2bbf6bd7f8 Copyright.txt: Add test to check year range 12 anni fa
CMakeInstall.cmake f2b1d653cf Tests: Launch CMake.Install test through 'cmake --build' 12 anni fa
CMakeLists.txt 0699e0d3e4 Tests: Move CTestTestConfigFileInBuildDir into RunCMake.ctest_start 10 anni fa
CTestUpdateBZR.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
CTestUpdateCVS.cmake.in 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 anni fa
CTestUpdateCommon.cmake 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 anni fa
CTestUpdateGIT.cmake.in 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 anni fa
CTestUpdateGIT.sh.in c3781efb28 ctest_update: Support Git upstream branch rewrites 15 anni fa
CTestUpdateHG.cmake.in 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 anni fa
CTestUpdateP4.cmake.in 1b54b1d5b7 ctest_update: Do not remove the p4 depot name 12 anni fa
CTestUpdateSVN.cmake.in 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 anni fa
CheckFortran.cmake 2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' 15 anni fa
EnforceConfig.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 anni fa
README 42a81e7119 Add stronger infrastructure for CMake-only tests 13 anni fa
bootstrap.bat.in 5e102d5e01 Enable BootstrapTest on MSYS 15 anni fa
test_clean.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 anni fa

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.