CMake/Tests
Brad King a749fcb3d0 Merge topic 'modernize-git-whitespace-attributes'
8ed03baa gitattributes: prefer `eol=crlf` to `-crlf`
40470031 MumpsCoverage: remove unnecessary attribute
d20485d8 gitattributes: prefer `eol=lf` to `crlf=input`
b85c2589 gitattributes: prefer `-text` for binary files
377f3685 gitattributes: remove unused attributes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1173
2017-08-25 11:04:05 -04:00
..
AliasTarget HP-UX: Drop support for building CMake on HP-UX 2017-08-07 09:16:09 -04:00
Architecture
ArgumentExpansion
Assembler
BuildDepends
BundleGeneratorTest
BundleTest
BundleUtilities
CFBundleTest
CheckCompilerRelatedVariables
CMakeCommands CompileFeatures: Makes tests work with meta-feature only 2017-05-29 13:51:45 -04:00
CMakeLib gitattributes: prefer eol=crlf to -crlf 2017-08-23 13:31:41 -04:00
CMakeOnly
CMakeTestAllGenerators
CMakeTestMultipleConfigures
CMakeTests gitattributes: prefer eol=lf to crlf=input 2017-08-23 13:30:00 -04:00
CoberturaCoverage
CommandLineTest
CompatibleInterface
CompileCommandOutput
CompileDefinitions
CompileFeatures Features: Fix COMPILE_FEATURES genex for C++ 14 and 17 features 2017-08-08 13:28:38 -04:00
CompileOptions
Complex HP-UX: Drop support for building CMake on HP-UX 2017-08-07 09:16:09 -04:00
ComplexOneConfig HP-UX: Drop support for building CMake on HP-UX 2017-08-07 09:16:09 -04:00
ConfigSources
COnly
Contracts
CPackComponents
CPackComponentsDEB
CPackComponentsForAll
CPackComponentsPrefix
CPackTestAllGenerators
CPackWiXGenerator
CrossCompile
CSharpLinkToCxx Vs: allow CSharp targets to be linked to CXX targets 2017-06-21 08:37:15 +02:00
CSharpOnly
CTestBuildCommandProjectInSubdir
CTestConfig
CTestCoverageCollectGCOV
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 Tests: Simplify CUDA rpath on macOS 2017-06-21 10:41:49 -04:00
CudaOnly Merge topic 'vs-cuda-fix-flags' 2017-06-27 09:18:34 -04:00
CustComDepend
CustomCommand
CustomCommandByproducts Tests: Fix CustomCommandByproducts regex for phony rules 2017-05-31 11:48:02 -04:00
CustomCommandWorkingDirectory
CxxDialect
CxxOnly
CxxSubdirC
DelphiCoverage
Dependency
DoubleProject
EmptyDepends
EmptyLibrary
EmptyProperty
Environment
ExportImport
ExternalOBJ
ExternalProject
ExternalProjectLocal
ExternalProjectSourceSubdir
ExternalProjectSubdir
ExternalProjectUpdate
FindBoost
FindBZip2
FindDoxygen
FindGSL
FindGTest
FindGTK2
FindICU
FindJsonCpp
FindLibRHash
FindLibUV
FindLTTngUST
FindMatlab
FindModulesExecuteAll
FindMPI
FindOpenCL
FindOpenGL
FindOpenMP
FindOpenSSL
FindPackageModeMakefileTest
FindPackageTest
FindPNG
FindProtobuf FindProtobuf: add target for protoc 2017-07-12 13:48:22 -04:00
FindThreads
FindTIFF
FindVulkan
FindXalanC
FindXercesC
ForceInclude
Fortran
FortranC
FortranModules
FortranOnly
Framework
FunctionTest
GeneratorExpression
GhsMulti
GhsMultiDuplicateSourceFilenames
GoogleTest GoogleTest: Add support for disabled tests 2017-06-05 10:11:08 -04:00
IncludeDirectories
InterfaceLibrary
InterfaceLinkLibraries
iOSNavApp
IPO
JacocoCoverage
Java
JavaExportImport
JavaJavah
JavascriptCoverage
JCTest
Jump
LibName
LinkDirectory
LinkFlags
LinkLanguage
LinkLine
LinkLineOrder
LinkStatic
LoadCommand
LoadCommandOneConfig
MacroTest
MacRuntimePath
MakeClean
MathTest
MFC gitattributes: prefer eol=crlf to -crlf 2017-08-23 13:31:41 -04:00
MissingInstall
MissingSourceFile
Module Merge topic 'modernize-git-whitespace-attributes' 2017-08-25 11:04:05 -04:00
ModuleDefinition
MSManifest
MumpsCoverage gitattributes: prefer eol=crlf to -crlf 2017-08-23 13:31:41 -04:00
NewlineArgs
ObjC++
ObjectLibrary
OutDir
OutOfBinary
OutOfSource
PDBDirectoryAndName
PerConfig
Plugin HP-UX: Drop support for building CMake on HP-UX 2017-08-07 09:16:09 -04:00
Policy0002
PolicyScope
PositionIndependentTargets
PrecompiledHeader
PreOrder
Preprocess
Properties
PythonCoverage
Qt4And5Automoc
Qt4Deploy
Qt4Targets Autogen: Tests: Disable some tests on non ASCII build paths 2017-06-13 16:51:33 +02:00
QtAutogen Autogen: Fix and extend SKIP_AUTOMOC test 2017-08-22 19:10:31 +02:00
QtAutogenRerun Autogen: Move repeated tests to new QtAutogenRerun test 2017-07-21 17:03:40 +02:00
QtAutomocNoQt
QtAutoUicInterface Autogen: Enable per-config support 2017-08-05 14:37:03 +02:00
ReturnTest
RunCMake CPack: extend testing framework 2017-08-19 22:41:14 +02:00
RuntimePath
SameName
SBCS
Server Server: test cache after reconnect 2017-08-13 23:20:11 +02:00
SetLang
Simple
SimpleCOnly
SimpleExclude
SimpleInstall gitattributes: prefer eol=crlf to -crlf 2017-08-23 13:31:41 -04:00
SimpleInstallS2 gitattributes: prefer eol=crlf to -crlf 2017-08-23 13:31:41 -04:00
SourceFileProperty
SourceGroups
SourcesProperty
StagingPrefix
StringFileTest
SubDir
SubDirSpaces
SubProject
SwiftMix
SwiftOnly
SwigTest
SystemInformation
TargetName
TestDriver
Testing
TestsWorkingDirectory
TryCompile
Tutorial
Unset
VariableUnusedViaSet
VariableUnusedViaUnset
VariableUsage
Visibility
VSExcludeFromDefaultBuild
VSExternalInclude
VSGNUFortran
VSMASM
VSMidl
VSNASM
VSNsightTegra
VSProjectInSubdir
VSResource Merge topic 'vs-rc-flags' 2017-06-22 10:13:39 -04:00
VSResourceNinjaForceRSP
VSWindowsFormsResx
VSWinStorePhone
VSXaml
WarnUnusedCliUnused
Wrapping
X11
XCTest XCTest: Speed up test by only enabling C language 2017-06-28 22:00:36 +02:00
.NoDartCoverage
bootstrap.bat.in
BootstrapTest.cmake
CheckFortran.cmake
CMakeBuildTest.cmake.in
CMakeCopyright.cmake
CMakeInstall.cmake
CMakeLists.txt Autogen: Move repeated tests to new QtAutogenRerun test 2017-07-21 17:03:40 +02: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
README.rst Tests: Document test directory layout in a README.rst 2017-06-14 15:04:19 -04:00
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.