Brad King e0da6c3b56 Merge topic 'ninja-output-path-prefix' 9 years ago
..
AliasTarget d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CMakeCommands d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CMakeLib d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CMakeOnly d9fd2f5402 Revise C++ coding style using clang-format 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 fad5d59cf4 PushCheckStateTest: Update test to check CMAKE_EXTRA_INCLUDE_FILES 9 years ago
COnly d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CPackComponents da7276cf94 Replace http://www.cmake.org URLs with https://cmake.org 10 years ago
CPackComponentsDEB 7e940bf74a CPack/Deb test changes due to breaking changes 9 years ago
CPackComponentsForAll bc7598fde0 Merge topic 'cpack-rpm-different-package-names' 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 e378ba5f39 Add CTestLimitDashJ test (#12904) 13 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 d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CompileOptions d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
Complex d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
ComplexOneConfig d9fd2f5402 Revise C++ coding style using clang-format 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
CustComDepend d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
CustomCommand d9fd2f5402 Revise C++ coding style using clang-format 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 7db9f3f294 ExternalProject: Add option to perform a shallow Git clone (#15291) 9 years ago
ExternalProjectLocal b42866a34a Drop Visual Studio 6 generator 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
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
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
FindMatlab d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindModulesExecuteAll d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindPackageTest d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindTIFF d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FindThreads fff9434d45 FindThreads: officially announce it works with only C++ enabled 10 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FortranC c180f0cbc2 Tests: Fix CMAKE_MAKE_PROGRAM selection in FortranC.Flags test 10 years ago
FortranOnly 54e900abfb CheckFortranCompilerFlag: Add test case 10 years ago
Framework d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
FunctionTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 years ago
GeneratorExpression d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
InterfaceLibrary d9fd2f5402 Revise C++ coding style using clang-format 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 3d287de4ea UseJava: Teach add_jar to support file syntax for sources 10 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
MacroTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 years ago
MakeClean a247911a88 Tests: Don't read the LOCATION property from build targets. 12 years ago
MathTest d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 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. 11 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
QtAutogen d9fd2f5402 Revise C++ coding style using clang-format 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 e0da6c3b56 Merge topic 'ninja-output-path-prefix' 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
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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
SimpleInstallS2 d9fd2f5402 Revise C++ coding style using clang-format 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 61b6d52ad0 Swift: Use dump instead of println 10 years ago
SwigTest d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 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 d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSGNUFortran d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSMASM d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSMidl d9fd2f5402 Revise C++ coding style using clang-format 9 years ago
VSNsightTegra d9fd2f5402 Revise C++ coding style using clang-format 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
VSWinStorePhone d9fd2f5402 Revise C++ coding style using clang-format 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 8ee6b47630 Tests: Launch BootstrapTest through cmake instead of ctest 12 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 1703a6d2c4 GHS: Fix handling of duplicate source filenames (#16046) 9 years ago
CTestUpdateBZR.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 years ago
CTestUpdateCVS.cmake.in 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 years ago
CTestUpdateCommon.cmake 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 years ago
CTestUpdateGIT.cmake.in 972849fbb7 Tests: Simplify CTest.UpdateGIT repo path construction 10 years ago
CTestUpdateGIT.sh.in c3781efb28 ctest_update: Support Git upstream branch rewrites 15 years ago
CTestUpdateHG.cmake.in 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 years ago
CTestUpdateP4.cmake.in 1b54b1d5b7 ctest_update: Do not remove the p4 depot name 12 years ago
CTestUpdateSVN.cmake.in 493388ce48 ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 10 years ago
CheckFortran.cmake 2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' 15 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.