CMake/Tests
Kyle Edwards 78f9c9dd0e Merge topic 'nsis-headerimage'
ebfffc609e CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4157
2020-01-10 13:48:47 -05:00
..
AliasTarget Clang: For MSVC ABI do not use modes older than C++14 2019-07-24 07:40:30 -04:00
Architecture
ArgumentExpansion
Assembler Tests: fix some Clang failures on Windows 2019-07-09 11:30:25 -04:00
BuildDepends PCH: Fix Makefile dependencies to rebuild PCH on header changes 2019-10-17 10:29:31 -04:00
BundleGeneratorTest
BundleTest Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
BundleUtilities Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CFBundleTest Xcode: Make BundleTests compatible with Xcode 11 2019-09-01 10:43:26 +02:00
CheckCompilerRelatedVariables
CMakeCommands Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CMakeLib Merge topic 'ctest-resource-allocation-spec-message' 2019-12-28 19:03:00 -05:00
CMakeOnly Tests: Enable missing Objective C/C++ tests 2019-12-19 11:38:53 -05:00
CMakeServerLib Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CMakeTestAllGenerators
CMakeTestMultipleConfigures replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
CMakeTests Property: Add INSTALL_REMOVE_ENVIROMENT_RPATH property 2019-07-25 12:30:23 -04:00
CoberturaCoverage
CommandLength
CommandLineTest
CompatibleInterface
CompileCommandOutput
CompileDefinitions
CompileFeatures Tests: Update CompileFeatures test for Intel 19 with VS 2015 2019-10-10 13:14:42 -04:00
CompileOptions Merge topic 'clang-gnulike-support' 2019-05-29 09:22:12 -04:00
Complex replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
ComplexOneConfig replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
ConfigSources Tests: Enable ConfigSources test on every configuration 2019-10-04 10:39:00 -04:00
COnly Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Contracts Tests/Contracts: Update VTK repository URL 2019-12-14 12:55:26 -05:00
CPackComponents Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CPackComponentsDEB Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
CPackComponentsForAll Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CPackComponentsPrefix
CPackNSISGenerator CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP 2020-01-02 22:27:31 +01:00
CPackTestAllGenerators
CPackUseDefaultVersion
CPackUseProjectVersion
CPackUseShortProjectVersion
CPackWiXGenerator Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
CrossCompile
CSharpLinkFromCxx
CSharpLinkToCxx
CSharpOnly
CTestBuildCommandProjectInSubdir
CTestConfig
CTestCoverageCollectGCOV CTestCoverageCollectGCOV: run gcov only once 2019-05-03 21:25:20 +01:00
CTestLimitDashJ
CTestScriptMode
CTestTest
CTestTest2
CTestTestBadExe
CTestTestBadGenerator
CTestTestChecksum
CTestTestCostSerial
CTestTestCrash
CTestTestCycle
CTestTestDepends
CTestTestEmptyBinaryDirectory
CTestTestFailure
CTestTestFdSetSize
CTestTestLabelRegExp
CTestTestLaunchers
CTestTestMissingDependsExe
CTestTestParallel
CTestTestResourceLock
CTestTestRunScript
CTestTestScheduler
CTestTestSerialInDepends
CTestTestSerialOrder
CTestTestSkipReturnCode
CTestTestStopTime
CTestTestSubdir
CTestTestTimeout
CTestTestUpload
CTestTestVerboseOutput
CTestTestZeroTimeout
Cuda Merge branch 'backport-3.16-cuda-device-link-only-cuda' 2020-01-09 11:21:09 -05:00
CudaOnly CUDA: MSVC + NVCC support --compiler-options compiler flag 2020-01-02 14:35:24 -05:00
CustComDepend
CustomCommand add_custom_command: convert DEPENDS path arguments to absolute paths 2019-12-18 13:57:07 -05:00
CustomCommandByproducts Byproducts: Add test for collapsing of full paths in byproducts 2019-09-16 10:24:24 +02:00
CustomCommandWorkingDirectory
CxxDialect
CxxOnly
CxxSubdirC
DelphiCoverage
Dependency
DoubleProject
EmptyDepends
EmptyLibrary
EmptyProperty
Environment
ExportImport Add set_property option: DEPRECATION 2020-01-02 17:11:31 -05:00
ExternalOBJ
ExternalProject ExternalProject: Option to turn off recursive update of git submodules 2019-10-24 13:36:19 -04:00
ExternalProjectLocal Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
ExternalProjectSourceSubdir
ExternalProjectSourceSubdirNotCMake ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE 2019-01-17 13:40:30 -05:00
ExternalProjectSubdir
ExternalProjectUpdate
FindALSA
FindBoost Tests.FindBoost: Don't use BoostConfig in MODULE test 2019-06-18 08:22:50 -04:00
FindBZip2
FindCups FindCups: add imported target 2019-02-06 11:20:57 -05:00
FindCURL
FindDoxygen FindDoxygen: add USE_STAMP_FILE option 2019-09-06 09:12:09 +10:00
FindEnvModules FindEnvMod: Remove unreliable test case 2019-09-16 13:10:40 -04:00
FindEXPAT
FindFontconfig FindFontconfig: Convert module variables to camel case 2019-03-26 14:14:09 -04:00
FindFreetype
FindGDAL
FindGIF Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindGit FindGit: Add imported target 2019-01-21 10:01:56 -05:00
FindGLEW FindGLEW: Add test 2019-03-15 11:22:32 -04:00
FindGnuTLS Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindGSL Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindGTest
FindGTK2 Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindIconv FindIconv test: request C++11 2019-06-25 15:14:02 +02:00
FindICU Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindJPEG clang-format: Normalize headers presentation 2019-10-01 12:25:48 -04:00
FindJsonCpp
FindLibArchive FindLibArchive: create a target 2019-12-05 17:18:28 -05:00
FindLibinput
FindLibLZMA FindLibLZMA: add imported target 2018-12-13 09:40:11 +09:00
FindLibRHash
FindLibUV
FindLibXml2 FindLibXml2: provide imported target LibXml2::xmllint 2019-12-31 12:45:26 +01:00
FindLTTngUST
FindMatlab FindMatlab: EXCLUDE_FROM_ALL parameter to matlab_add_mex 2019-06-26 19:53:02 +02:00
FindModulesExecuteAll
FindMPI
FindODBC
FindOpenACC FindOpenACC: Provide import targets and OpenACC_<lang>_OPTIONS variable 2019-08-19 15:20:38 -04:00
FindOpenCL
FindOpenGL
FindOpenMP FindOpenMP: Allow try_compile() to find omp.h for AppleClang 2019-10-17 18:50:05 +11:00
FindOpenSSL
FindPackageModeMakefileTest FindPackageModeMakefileTest: macOS needs isysroot flag 2019-10-29 07:14:08 +11:00
FindPackageTest Merge topic 'find_package-prefer-config-not-found' 2019-08-07 09:57:35 -04:00
FindPatch
FindPNG
FindPostgreSQL FindPostgreSQL: support version encoding used in pre-10 releases 2019-11-07 09:24:12 -05:00
FindProtobuf Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindPython FindPython: Add variable Python_SOABI 2020-01-09 14:43:22 +01:00
FindSQLite3 Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
FindThreads FindThreads: Drop IRIX-specific options and results 2018-12-07 13:33:01 -05:00
FindTIFF
FindVulkan
FindX11 clang-format: Normalize headers presentation 2019-10-01 12:25:48 -04:00
FindXalanC
FindXercesC
ForceInclude
Fortran Remove now-unused code once used for MIPSpro on IRIX 2019-02-21 11:12:51 -05:00
FortranC
FortranModules Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
FortranOnly replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
Framework
FunctionTest
GeneratorExpression add_custom_command: Delay slash conversion until after genex evaluation 2019-09-13 10:56:26 -04:00
GhsMulti GHS: Update tests and notes 2019-04-11 13:15:51 -04:00
GoogleTest Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
ImportedSameName
IncludeDirectories Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
IncludeDirectoriesCPATH Do not exclude include directories made implicit by CPATH 2019-05-30 09:24:59 -04:00
InterfaceLibrary Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
InterfaceLinkLibraries
iOSNavApp
JacocoCoverage
Java FindJava: tests clean-up 2019-10-02 14:47:11 +02:00
JavaExportImport replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
JavaJavah FindJava: tests clean-up 2019-10-02 14:47:11 +02:00
JavaNativeHeaders FindJava: tests clean-up 2019-10-02 14:47:11 +02:00
JavascriptCoverage
JCTest
Jump
LibName
LinkDirectory Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
LinkFlags
LinkLanguage
LinkLine
LinkLineOrder
LinkStatic
LoadCommand Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
LoadCommandOneConfig Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
MacroTest
MacRuntimePath replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
MakeClean Tests: Extend MakeClean test to test various target types 2019-08-26 09:31:03 -04:00
MathTest math(EXPR): Implement ~(exp_NOT) expression as documented 2019-07-23 07:33:50 -04:00
MFC Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
MissingInstall
MissingSourceFile
Module bindexplib: supporting llvm bitcode formats using llvm-nm 2019-08-30 11:30:38 -04:00
ModuleDefinition
MSManifest
MSVCRuntimeLibrary Flang: Implement MSVC runtime library abstraction 2019-08-09 10:18:54 -04:00
MumpsCoverage
NewlineArgs Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
ObjC Tests: Organize Objective C/C++ test directories 2019-11-14 10:57:42 -05:00
ObjCXX Tests: Organize Objective C/C++ test directories 2019-11-14 10:57:42 -05:00
ObjectLibrary Relax the usage of TARGET_OBJECTS generator expression 2019-04-19 13:52:50 -04:00
OutDir Ninja: Add multi-config variant 2019-12-13 10:51:46 -05:00
OutName
OutOfBinary
OutOfSource
PDBDirectoryAndName Tests: fix some Clang failures on Windows 2019-07-09 11:30:25 -04:00
PerConfig
Plugin Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Policy0002
PolicyScope
PositionIndependentTargets
PrecompiledHeader
PreOrder
Preprocess Tests: fix some Clang failures on Windows 2019-07-09 11:30:25 -04:00
Properties
PythonCoverage
Qt4And5Automoc
Qt4Autogen
Qt4Deploy
Qt4Targets Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
Qt5Autogen
QtAutogen Tests: Add AUTOGEN policy CMP0100 test 2020-01-04 11:33:05 +01:00
QtAutomocNoQt
ReturnTest
RunCMake Merge topic 'objc-compiler-launcher' 2020-01-10 13:18:35 -05:00
RuntimePath Fix rpath-link for shared lib with only private deps 2019-08-02 14:50:57 -04:00
SBCS
Server Help: Mark default CMake generator with asterisk 2019-01-18 12:57:34 -05:00
SetLang
Simple
SimpleCOnly
SourceFileIncludeDirProperty
SourceFileProperty Tests: Collect SourceFileProperty tests 2019-08-27 22:28:34 +05:30
SourceGroups source_group command ensures that FILES arguments are actually files 2019-04-25 20:51:40 +02:00
SourcesProperty
StagingPrefix replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
StringFileTest
SubDir replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
SubDirSpaces replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
SubProject
SwiftMix SwiftMix: properly export SwiftMain method 2019-05-01 13:30:14 +02:00
SwiftOnly Swift: Restore support for enabling with INTERFACE libraries 2019-07-29 15:24:29 -04:00
SystemInformation Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
TargetName
TestDriver
Testing
TestsWorkingDirectory Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
TryCompile ObjC: Add try_compile support 2019-11-09 11:25:32 +01:00
Unset
UseSWIG FindPython*: Manage weak link for Python modules 2019-05-07 16:37:24 +02:00
VariableUnusedViaSet
VariableUnusedViaUnset
VariableUsage
Visibility
VSExcludeFromDefaultBuild
VSExternalInclude Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSGNUFortran
VSMASM
VSMidl replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
VSNASM
VSNsightTegra Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSProjectInSubdir
VSResource Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSResourceNinjaForceRSP
VSWindowsFormsResx
VSWinStorePhone Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
VSXaml Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
WarnUnusedCliUnused Test: Improve WarnUnusedCliUnused to run on all generators 2019-05-15 15:28:37 +02:00
Wrapping
X11 Revise include order using clang-format-6.0 2019-10-01 12:26:36 -04:00
XCTest
.NoDartCoverage
bootstrap.bat.in
BootstrapTest.cmake
CheckFortran.cmake
CheckSwift.cmake Tests: add a check for the Swift compiler 2019-05-17 10:09:35 -04:00
CMakeBuildTest.cmake.in
CMakeCopyright.cmake
CMakeInstall.cmake
CMakeLists.txt Merge topic 'nsis-headerimage' 2020-01-10 13:48:47 -05:00
CTestUpdateBZR.cmake.in
CTestUpdateCommon.cmake
CTestUpdateCVS.cmake.in
CTestUpdateGIT.cmake.in
CTestUpdateGIT.sh.in
CTestUpdateHG.cmake.in
CTestUpdateP4.cmake.in
CTestUpdateSVN.cmake.in
EnforceConfig.cmake.in Initialize CMAKE_EXPORT_COMPILE_COMMANDS from envvar of the same name 2019-10-18 14:37:33 -04:00
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.