CMake/Tests
2019-09-26 14:57:40 -04:00
..
AliasTarget Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Architecture
ArgumentExpansion
Assembler
BuildDepends LINK_DEPENDS: add support of 'generator expressions' 2018-06-27 18:38:36 +02:00
BundleGeneratorTest
BundleTest Xcode: Avoid mutating App Bundle targets during generation 2019-04-11 10:35:14 -04:00
BundleUtilities Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CFBundleTest
CheckCompilerRelatedVariables
CMakeCommands target_link_libraries: Fix static library private deps in other dirs 2019-04-30 13:53:10 -04:00
CMakeLib Fix most clang -Wextra-semi-stmt warnings in C++ files 2019-01-15 14:09:46 -05:00
CMakeOnly CMakeParseArguments: Remove superfluous includes of CMakeParseArguments 2018-12-13 19:51:01 -05:00
CMakeServerLib
CMakeTestAllGenerators
CMakeTestMultipleConfigures
CMakeTests Reduce size of PNG images 2019-01-25 09:14:51 -05:00
CoberturaCoverage
CommandLength
CommandLineTest
CompatibleInterface Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileCommandOutput Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileDefinitions Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileFeatures Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CompileOptions Fortran: Add compiler ID/Version generator expressions 2019-01-18 08:56:13 -05:00
Complex Fix misc. typos 2018-06-04 10:32:49 -04:00
ComplexOneConfig Fix misc. typos 2018-06-04 10:32:49 -04:00
ConfigSources
COnly Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Contracts
CPackComponents
CPackComponentsDEB
CPackComponentsForAll Fix misc. typos 2018-06-04 10:32:49 -04:00
CPackComponentsPrefix
CPackTestAllGenerators
CPackUseDefaultVersion CPack: Use project version as default for CPACK_PACKAGE_VERSION 2018-05-03 08:26:03 +10:00
CPackUseProjectVersion CPack: Use project version as default for CPACK_PACKAGE_VERSION 2018-05-03 08:26:03 +10:00
CPackUseShortProjectVersion CPack: Use project version as default for CPACK_PACKAGE_VERSION 2018-05-03 08:26:03 +10:00
CPackWiXGenerator
CrossCompile
CSharpLinkFromCxx clang-format.bash: update to clang-format-6.0 2018-06-01 09:52:02 -04:00
CSharpLinkToCxx CSharp: Fix regression in VS project type selection 2018-10-02 14:58:11 -04:00
CSharpOnly CSharp: Fix regression in VS project type selection for custom target 2018-10-31 09:13:19 -04:00
CTestBuildCommandProjectInSubdir Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestConfig Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestCoverageCollectGCOV Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestLimitDashJ
CTestScriptMode
CTestTest
CTestTest2
CTestTestBadExe CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestBadGenerator CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestChecksum
CTestTestCostSerial CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestCrash CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestCycle CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestDepends CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestEmptyBinaryDirectory
CTestTestFailure CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestFdSetSize Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestTestLabelRegExp
CTestTestLaunchers CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestMissingDependsExe
CTestTestParallel CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestResourceLock CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestRunScript
CTestTestScheduler CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestSerialInDepends
CTestTestSerialOrder
CTestTestSkipReturnCode CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestStopTime CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestSubdir CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestTimeout CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestUpload CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestVerboseOutput CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
CTestTestZeroTimeout CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00
Cuda CUDA: Add test for device linking when host linking uses threads 2018-10-24 10:15:48 -04:00
CudaOnly CUDA: Honor CUDA_RESOLVE_DEVICE_SYMBOLS for more target types 2019-02-05 11:09:48 -05:00
CustComDepend Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CustomCommand Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CustomCommandByproducts
CustomCommandWorkingDirectory add_custom_{command,target}: Fix WORKING_DIRECTORY leading genex 2018-11-03 08:39:45 -04:00
CxxDialect
CxxOnly Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
CxxSubdirC
DelphiCoverage
Dependency
DoubleProject
EmptyDepends
EmptyLibrary
EmptyProperty
Environment
ExportImport Remove now-unused code once used on IRIX 2019-01-11 13:50:46 -05:00
ExternalOBJ
ExternalProject ExternalProject: option LOG_MERGED_STDOUTERR to combine stdout and stderr 2018-10-19 15:32:51 +01:00
ExternalProjectLocal Tests: Make ExternalProjectLocal independent of Tutorial directory 2019-01-27 16:03:00 -05:00
ExternalProjectSourceSubdir
ExternalProjectSourceSubdirNotCMake ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE 2019-01-17 13:40:30 -05:00
ExternalProjectSubdir
ExternalProjectUpdate
FindALSA FindALSA: add testcase 2018-05-31 09:35:53 +02:00
FindBoost FindBoost: Fix detection with version suffixes on Gentoo 2019-04-16 13:31:27 -04:00
FindBZip2
FindCURL FindCURL: add test for component 2018-12-06 11:49:04 -05:00
FindDoxygen FindDoxygen: Add tests for ALL option 2018-05-27 18:18:40 +10:00
FindEXPAT
FindFontconfig FindFontconfig: Convert module variables to camel case 2019-03-26 14:14:09 -04:00
FindFreetype
FindGDAL FindGDAL: set the GDAL_VERSION 2018-11-01 13:16:37 -04:00
FindGIF FindGIF: Add test 2018-11-20 21:07:03 +01:00
FindGit FindGit: Add imported target 2019-01-21 10:01:56 -05:00
FindGSL
FindGTest
FindGTK2 Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindIconv
FindICU
FindJPEG FindJPEG: handle multiarch installs of libjpeg-turbo 2018-11-06 16:45:52 -05:00
FindJsonCpp
FindLibinput FindLibinput: Add module to find libinput 2018-10-11 10:43:45 -04:00
FindLibLZMA FindLibLZMA: add imported target 2018-12-13 09:40:11 +09:00
FindLibRHash
FindLibUV
FindLibXml2
FindLTTngUST Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindMatlab FindMatlab: Fix compilation error in one specific test configuration. 2018-10-28 23:12:26 -06:00
FindModulesExecuteAll
FindMPI
FindODBC Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenCL Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenGL Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenMP Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FindOpenSSL
FindPackageModeMakefileTest FindPackageModeMakefileTest: Explicitly use C linkage 2018-08-29 13:02:09 -04:00
FindPackageTest find_package: add test coverage for CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS 2019-01-16 09:59:46 -05:00
FindPatch
FindPNG
FindPostgreSQL Tests/FindPostgreSQL: add a test for FindPostgreSQL 2018-11-01 13:23:38 -04:00
FindProtobuf
FindPython FindPython: Fix NumPy component include directory 2019-03-04 08:28:21 -05:00
FindSQLite3 FindSQLite3: Add module to find SQLite3 2018-11-06 15:05:04 -05:00
FindThreads FindThreads: Drop IRIX-specific options and results 2018-12-07 13:33:01 -05:00
FindTIFF
FindVulkan
FindX11 Tests/FindX11: add a test 2018-11-15 13:08:18 -05:00
FindXalanC
FindXercesC
ForceInclude Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Fortran VS: Fix Fortran target type selection when linking C++ targets 2019-02-04 14:13:46 -05:00
FortranC
FortranModules Fortran: Fix module dependency scanning with upper-case SUBMODULE 2018-11-20 14:16:26 -05:00
FortranOnly VS: Fix Fortran target type selection with RC sources 2019-03-01 11:58:21 -05:00
Framework Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
FunctionTest
GeneratorExpression Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
GhsMulti GHS: Update test suite 2019-01-16 10:42:08 -05:00
GoogleTest GoogleTest: Modify test to verify that empty files can be scanned 2018-09-10 16:21:48 +08:00
ImportedSameName Fix transitive usage requirements through same-name imported targets 2018-09-10 07:51:44 -04:00
IncludeDirectories Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
IncludeDirectoriesCPATH Do not exclude include directories made implicit by CPATH 2019-05-30 09:24:59 -04:00
InterfaceLibrary Fix EXCLUDE_FROM_ALL on directory with an interface library 2019-02-08 08:17:48 -05:00
InterfaceLinkLibraries Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
iOSNavApp
IPO
JacocoCoverage
Java
JavaExportImport
JavaJavah
JavaNativeHeaders
JavascriptCoverage
JCTest
Jump Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
LibName
LinkDirectory LINK_DIRECTORIES: Add new properties and commands 2018-09-25 23:59:58 +10:00
LinkFlags Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
LinkLanguage
LinkLine
LinkLineOrder
LinkStatic
LoadCommand
LoadCommandOneConfig
MacroTest
MacRuntimePath Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
MakeClean
MathTest math: Add options to calculate and format output as hexadecimal 2018-07-03 09:55:58 -04:00
MFC Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
MissingInstall
MissingSourceFile
Module Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
ModuleDefinition Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
MSManifest
MumpsCoverage CTest: Fix GTM coverage handling of entry point named "%" 2018-10-16 10:59:09 -04:00
NewlineArgs Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
ObjC++
ObjectLibrary Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
OutDir
OutName Fix regression in target output file naming logic 2018-09-19 08:14:48 -04:00
OutOfBinary
OutOfSource Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
PDBDirectoryAndName Add generator expression support to PDB_OUTPUT_DIRECTORY target property 2018-05-21 11:00:12 -04:00
PerConfig Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Plugin Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Policy0002
PolicyScope cmake_policy: Add undocumented PARENT_SCOPE option to GET 2018-04-18 08:09:56 -04:00
PositionIndependentTargets clang-format.bash: update to clang-format-6.0 2018-06-01 09:52:02 -04:00
PrecompiledHeader Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
PreOrder
Preprocess Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Properties Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
PythonCoverage
Qt4And5Automoc
Qt4Autogen Autogen: Sort tests 2018-11-14 19:21:03 +01:00
Qt4Deploy
Qt4Targets Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
Qt5Autogen Autogen: Sort tests 2018-11-14 19:21:03 +01:00
QtAutogen Autogen: Extend the SameName test with same name but different extension files 2019-02-05 15:51:53 +01:00
QtAutomocNoQt
ReturnTest
RunCMake Tests: Revise RunCMake.add_subdirectory ExcludeFromAll to avoid globbing 2019-09-26 14:57:40 -04:00
RuntimePath
SBCS
Server Help: Mark default CMake generator with asterisk 2019-01-18 12:57:34 -05:00
SetLang
Simple
SimpleCOnly
SourceFileIncludeDirProperty
SourceFileProperty
SourceGroups
SourcesProperty
StagingPrefix
StringFileTest
SubDir Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
SubDirSpaces Remove now-unused code once used on IRIX 2019-01-11 13:50:46 -05:00
SubProject
SwiftMix
SwiftOnly Xcode: Update default Swift language version for Xcode 10.2 2019-02-04 13:26:10 -05:00
SystemInformation
TargetName
TestDriver
Testing
TestsWorkingDirectory Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
TryCompile try_compile: Restore expansion of ;-list in COMPILE_DEFINITIONS 2019-02-15 06:21:19 -05:00
Tutorial Tests: Update style of c++ code snippets in Tutorial directions 2019-01-27 16:03:00 -05:00
Unset If: Support the 'DEFINED CACHE{}' syntax 2018-11-09 10:38:07 -05:00
UseSWIG SWIG: Add support for custom Swig source file extensions 2019-01-03 09:36:15 +05:30
VariableUnusedViaSet
VariableUnusedViaUnset
VariableUsage
Visibility
VSExcludeFromDefaultBuild
VSExternalInclude VS: Add Visual Studio 16 2019 generator 2019-01-11 11:04:51 -05:00
VSGNUFortran
VSMASM
VSMidl
VSNASM VS: Properly quote arguments in nasm.xml 2018-07-02 18:50:12 -04:00
VSNsightTegra
VSProjectInSubdir
VSResource
VSResourceNinjaForceRSP
VSWindowsFormsResx
VSWinStorePhone VS: Fix WinRT component references 2019-02-01 13:04:52 -05:00
VSXaml Reduce size of PNG images 2019-01-25 09:14:51 -05:00
WarnUnusedCliUnused
Wrapping Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
X11 Revise C++ coding style using clang-format-6.0 2018-06-01 09:53:42 -04:00
XCTest
.NoDartCoverage
bootstrap.bat.in
BootstrapTest.cmake
CheckFortran.cmake
CMakeBuildTest.cmake.in
CMakeCopyright.cmake
CMakeInstall.cmake
CMakeLists.txt Do not exclude include directories made implicit by CPATH 2019-05-30 09:24:59 -04:00
CTestUpdateBZR.cmake.in
CTestUpdateCommon.cmake Remove unnecessary CTEST_PROJECT_NAME variables 2018-11-20 21:43:27 +01:00
CTestUpdateCVS.cmake.in
CTestUpdateGIT.cmake.in
CTestUpdateGIT.sh.in
CTestUpdateHG.cmake.in
CTestUpdateP4.cmake.in
CTestUpdateSVN.cmake.in
EnforceConfig.cmake.in
README.rst
test_clean.cmake.in

CMake Tests Directory
*********************

This directory contains the CMake test suite.
See also the `CMake Source Code Guide`_.

.. _`CMake Source Code Guide`: ../Help/dev/source.rst

Many tests exist as immediate subdirectories, but some tests
are organized as follows.

* ``CMakeLib/``:
  Source code, used for tests, that links to the ``CMakeLib`` library
  defined over in ``Source/``.

* ``CMakeOnly/``:
  Deprecated.  Tests that run CMake to generate a project but not build it.
  Superseded by ``Tests/RunCMake/``.

* ``Find*/``:
  Tests for specific find modules that can only be run on machines with
  the corresponding packages installed.  They are enabled in
  ``CMakeLists.txt`` by undocumented options used on CI builds.

* ``Module/``:
  Tests for specific CMake modules.

* ``RunCMake/``:
  Tests that run CMake and/or other tools while precisely checking
  their return code and stdout/stderr content.  Useful for testing
  error cases and diagnostic output.