Stephen Kelly d83245a34f cmTarget: Don't create duplicate backtraces in CMP0046 warning 12 yıl önce
..
AliasTarget cd3d0b613e get_property: Fix testing ALIASED_TARGET target property (#14670) 12 yıl önce
Architecture 765b46d1e1 Xcode: Fix test architecture selection for Xcode >= 5 12 yıl önce
ArgumentExpansion 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
Assembler f60797f75b Tests/Assembler: Drop -g when generating sample assembly source 12 yıl önce
BuildDepends 7f459a664c Xcode: Teach BuildDepends test that Xcode >= 5 needs no help 12 yıl önce
BundleGeneratorTest 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
BundleTest d25dbc9059 Tests/BundleTest: Drop use of ChangeLog.txt 12 yıl önce
BundleUtilities a247911a88 Tests: Don't read the LOCATION property from build targets. 12 yıl önce
CFBundleTest a5aadcd46d CFBundle test: Add isysroot argument when calling Rez. 12 yıl önce
CMakeCommands 272a20f8e5 cmTarget: Don't update IMPORTED target compilation properties 12 yıl önce
CMakeLib 450b515ad0 cmRST: Add support for the note and productionlist directives 12 yıl önce
CMakeOnly 4340507207 Merge topic 'CheckStructHasMember_CXX' 12 yıl önce
CMakeTestAllGenerators 0baf5659c6 Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators 14 yıl önce
CMakeTestBadCommandLines ae1e9900fa Add test CMakeTestBadCommandLines. Also add --graphviz arg to cmake invoked during the CPackComponents test. The purpose of each is to increase coverage of cmake.cxx. 16 yıl önce
CMakeTestMultipleConfigures 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CMakeTests 1cb9ef8173 file DOWNLOAD: Test non-zero return status. 12 yıl önce
COnly 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CPackComponents 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CPackComponentsForAll 193029c4aa cpack: For DragNDrop generator, add sysroot option when calling Rez. 12 yıl önce
CPackTestAllGenerators 587b7b6f5e Tests: Use the right path to CPack value for running CPack tests 13 yıl önce
CPackWiXGenerator b78d74de64 CPackWiX: Add support for CPACK_CREATE_DESKTOP_LINKS 12 yıl önce
CTestBuildCommandProjectInSubdir e965cb12e2 Tests: Simplify CTest.BuildCommand.ProjectInSubdir configuration 12 yıl önce
CTestConfig 56ca8d4e63 Tests: Add generator toolset support 13 yıl önce
CTestLimitDashJ e378ba5f39 Add CTestLimitDashJ test (#12904) 13 yıl önce
CTestScriptMode 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CTestTest 9e41eb68ec Fix wording of "the the" typos throughout text 12 yıl önce
CTestTest2 c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestBadExe c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestChecksum c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestConfigFileInBuildDir 56ca8d4e63 Tests: Add generator toolset support 13 yıl önce
CTestTestCostSerial c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestCrash c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestCycle c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestDepends c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestEmptyBinaryDirectory 9d9f102f53 Tests: added test for ctest_empty_binary_directory() 12 yıl önce
CTestTestFailedSubmits 56ca8d4e63 Tests: Add generator toolset support 13 yıl önce
CTestTestFailure c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestFdSetSize 875eb8e158 CTest: Add test for running many tests in parallel 13 yıl önce
CTestTestLaunchers 4fcb97eaac Tests: Add test for CTEST_USE_LAUNCHERS capture of custom commands 12 yıl önce
CTestTestMemcheck 57c008c37a Tests: allow valgrind test to pass with symlinked build dir 12 yıl önce
CTestTestMissingDependsExe 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 yıl önce
CTestTestParallel c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestResourceLock c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestRunScript 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
CTestTestScheduler c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestSerialInDepends ff59365f8b CTest: fix dashboard issues associated with the ctest-fix-run-serial topic 12 yıl önce
CTestTestSerialOrder 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 yıl önce
CTestTestSkipReturnCode 3a0d164bb2 allow to mark a test as "Not Run" with a specific return code (#8466) 12 yıl önce
CTestTestStopTime 0655d0946e Tests: use string(TIMESTAMP) instead of system and locale specific date/time 12 yıl önce
CTestTestSubdir c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestTimeout c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestUpload c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CTestTestZeroTimeout c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 12 yıl önce
CheckCompilerRelatedVariables 77ac9b8b9c VS12: Add Visual Studio 12 generator (#14251) 12 yıl önce
CommandLineTest 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CompatibleInterface 2af966d9ab Genex: Add EQUAL expression. 12 yıl önce
CompileCommandOutput 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
CompileDefinitions 5bb53f6b73 cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy. 12 yıl önce
CompileOptions 47a8db5bcd Add generator expressions for compiler versions. 12 yıl önce
Complex 15610bb5b1 Drop use of configure_file IMMEDIATE option 12 yıl önce
ComplexOneConfig 15610bb5b1 Drop use of configure_file IMMEDIATE option 12 yıl önce
Contracts ad330edaa2 Tests/Contracts: Submit notes with VTK build 12 yıl önce
CrossCompile 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
CustComDepend 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 yıl önce
CustomCommand a247911a88 Tests: Don't read the LOCATION property from build targets. 12 yıl önce
CustomCommandWorkingDirectory 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
CxxOnly 749584509e Fix CXX/Fortran MODULE flags when enabled before C (#12929) 14 yıl önce
Dependency 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
DoubleProject 5badf5f734 Fix the case where cmake --build failed with two project cmds in one file. 14 yıl önce
EmptyDepends 223850576b Watcom: Avoid prompt from wmake about dll with no exports... 13 yıl önce
EmptyLibrary 220c5dc45a Add test that CMake errors with empty libs 15 yıl önce
EmptyProperty 31bd83e9fc set_property: Do not remove a property when APPENDing nothing 12 yıl önce
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 yıl önce
ExportImport 6e89c8a5f1 install: Support generator expressions in FILES and PROGRAMS mode 12 yıl önce
ExternalOBJ 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
ExternalProject 819015ef3a ExternalProject: Add option GIT_SUBMODULES 12 yıl önce
ExternalProjectUpdate 56ca8d4e63 Tests: Add generator toolset support 13 yıl önce
FindGTK2 7efef02df2 FindGTK2: Add tests for components and targets in gtk and gtkmm modules 12 yıl önce
FindModulesExecuteAll 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
FindPackageModeMakefileTest dea71aae6d Tests: Fix find-package mode test. 12 yıl önce
FindPackageTest 7bb1abe56a FPHSA: Add FOUND_VAR option to specify _FOUND variable name 13 yıl önce
ForceInclude b29eadd8f3 Map multiple /FI flags for VS < 10 (#11649) 15 yıl önce
Fortran ef7c11ee31 Tests: Fix standalone build of tests with nested projects 12 yıl önce
FortranC 56ca8d4e63 Tests: Add generator toolset support 13 yıl önce
FortranOnly 5c0c635a09 Fortran: Add support for free- and fixed-form flags 14 yıl önce
Framework 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 yıl önce
FunctionTest 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
GeneratorExpression 6aabb6a62b Genex: Use case-sensitive comparison for COMPILER_ID. 12 yıl önce
IPO 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
IncludeDirectories faedd2bea9 cmTarget: Fix system include annotation propagation. 12 yıl önce
InterfaceLibrary e7a111f094 InterfaceLibrary: Add test requiring MAP_IMPORTED_CONFIG whitelisting 12 yıl önce
InterfaceLinkLibraries d0a76ea07c Introduce the INTERFACE_LINK_LIBRARIES property. 12 yıl önce
JCTest 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
Java 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 yıl önce
Jump 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
LibName 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
LinkDirectory b7deca4a54 Test: Remove obsolete commented code. 12 yıl önce
LinkFlags 152dfdab11 Add additonal tests for the linker flags 12 yıl önce
LinkLanguage 750eb105c2 Test target link information invalidation 16 yıl önce
LinkLine 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
LinkLineOrder 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
LinkStatic 077954d4cb Test static linking with LINK_SEARCH_START_STATIC 15 yıl önce
LoadCommand 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
LoadCommandOneConfig 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
MFC 0e598b7bcd Tests: Only really run MFC test if we can build MFC apps (#11213) 14 yıl önce
MacRuntimePath d25ad482e9 OS X: Add CMP0042 to enable MACOSX_RPATH by default 12 yıl önce
MacroTest 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
MakeClean a247911a88 Tests: Don't read the LOCATION property from build targets. 12 yıl önce
MathTest 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
MissingInstall be0458c562 InstallRules: added new variable to disable generation of install rules 12 yıl önce
MissingSourceFile 7af41c3492 Test that missing source mentions directory (#11677) 15 yıl önce
Module 2410b912fe Merge some GenerateExportHeader subtests. 12 yıl önce
ModuleDefinition 89987c2102 Test generated module .def files 14 yıl önce
MumpsCoverage 5b69ce49d4 Update test data to match new coverage format. 13 yıl önce
NewlineArgs 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 yıl önce
ObjC++ 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
ObjectLibrary 310aef959b Make ExportLanguages a subtest of the ObjectLibrary test 12 yıl önce
OutDir 6eff237c56 Fix OutDir test on HP, MinGW, and Cygwin 16 yıl önce
OutOfBinary 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
OutOfSource 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
PDBDirectoryAndName 42ba1b08f3 VS: Separate compiler and linker PDB files (#11899, #14062) 13 yıl önce
PerConfig 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
Plugin 30ff6cf9e9 Refactor the Plugin test. 12 yıl önce
Policy0002 65a78ec5b8 Test support for OLD behavior of policy CMP0002 16 yıl önce
PolicyScope 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
PositionIndependentTargets fe732264e9 Add the INTERFACE_LIBRARY target type. 12 yıl önce
PreOrder 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
PrecompiledHeader 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
Preprocess a43e5e0ad5 Test COMPILE_DEFINITIONS target property get/set/get round-trip 12 yıl önce
Properties 84b49be8f0 Remove CMake multiline block-end command arguments 13 yıl önce
PythonCoverage d0ec3a01a6 Adding support for the Python coverage.py tool. 12 yıl önce
Qt4And5Automoc 1fc9ecfae6 FindQt4: Make AUTOMOC work regardless which order Qt 4/5 is found. 12 yıl önce
Qt4Deploy ab9661c1dd Remove QtGui dependency in Qt4Deploy test and verify QtSql existance. 14 yıl önce
Qt4Targets 9ce60ff509 Qt4Macros: Allow specifying a TARGET in invokations of macros. 12 yıl önce
QtAutoUicInterface 98093c45db QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. 12 yıl önce
QtAutogen 112cba927a QtAutogen: Fix AUTOGEN depends on custom command output with VS. 12 yıl önce
QtAutomocNoQt a223a3b65f Automoc: Don't create automoc targets if Qt is not used (#13999) 13 yıl önce
ReturnTest ddac8d3d2d Fix spelling and typos (affecting binary data / module messages) 12 yıl önce
RunCMake d83245a34f cmTarget: Don't create duplicate backtraces in CMP0046 warning 12 yıl önce
RuntimePath 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
SBCS ba89e92ba6 Visual Studio: Allow setting Single Byte Character Set (#12189) 14 yıl önce
SameName 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
SetLang 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
Simple 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
SimpleCOnly 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
SimpleExclude 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
SimpleInstall c85672634c Tests: Teach SimpleInstall to use "cmake --build" 12 yıl önce
SimpleInstallS2 c85672634c Tests: Teach SimpleInstall to use "cmake --build" 12 yıl önce
SourceGroups 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 yıl önce
StagingPrefix 7521da2852 Introduce CMAKE_STAGING_PREFIX variable. 12 yıl önce
StringFileTest 0ab50aea4c string: Add MAKE_C_IDENTIFIER subcommand 12 yıl önce
SubDir 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
SubDirSpaces 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
SubProject ce8810c4e7 ENH: preclean some warnings 18 yıl önce
SwigTest 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
SystemInformation f6cae4ea06 Tests: Remove some trailing black lines. 12 yıl önce
TarTest 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
TargetName 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
TestDriver 77543bde41 Convert CMake-language commands to lower case 13 yıl önce
Testing 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
TestsWorkingDirectory a27edd8a05 Fix XCode -> Xcode typos, notably in man page (#12231) 14 yıl önce
TryCompile f6024ef420 Merge topic 'try_compile-COPY_FILE_ERROR' 12 yıl önce
Tutorial a247911a88 Tests: Don't read the LOCATION property from build targets. 12 yıl önce
Unset 261c248254 unset: Add PARENT_SCOPE option 12 yıl önce
VSExcludeFromDefaultBuild b777272b0b Add tests for EXCLUDE_FROM_DEFAULT_BUILD 13 yıl önce
VSExternalInclude 77ac9b8b9c VS12: Add Visual Studio 12 generator (#14251) 12 yıl önce
VSGNUFortran 307d45eaf4 Tests/VSGNUFortran: Avoid C++ comment in C code (#13314) 13 yıl önce
VSMidl e33cbda5c4 VSMidl Test: Use correct include_directories with VS6 (#11461) 15 yıl önce
VSProjectInSubdir 1ca93182ad VS: Add test for building MSBuild project in subdir 13 yıl önce
VSResource df9577259c Add support for Visual Studio project-specific globals (#8707) 14 yıl önce
VSWindowsFormsResx 6c9712c47b VS: Add Resx configuration to the vcxproj file 12 yıl önce
VariableUnusedViaSet f7438ca7ac Add test for unused detection via setting it 15 yıl önce
VariableUnusedViaUnset dee19760a7 Fix typo in VariableUnusedViaUnset test 15 yıl önce
VariableUsage 75bda3864e Add tests for unused command line variables 15 yıl önce
VisibilityInlinesHidden efdcebddbd VisibilityInlinesHidden: only apply -fvisibility-inlines-hidden to C++ sources 12 yıl önce
WarnUnusedCliUnused 273ecab96d CLI: Suppress the unused warning if the key value pair is cached. 12 yıl önce
Wrapping a247911a88 Tests: Don't read the LOCATION property from build targets. 12 yıl önce
X11 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
iOSNavApp 64c9b318bf Xcode: Add test to demonstrate iOS project in Xcode 14 yıl önce
.NoDartCoverage fa73553a59 clean up coverage some 23 yıl önce
BootstrapTest.cmake 8ee6b47630 Tests: Launch BootstrapTest through cmake instead of ctest 12 yıl önce
CMakeBuildTest.cmake.in 56ca8d4e63 Tests: Add generator toolset support 13 yıl önce
CMakeCopyright.cmake 2bbf6bd7f8 Copyright.txt: Add test to check year range 12 yıl önce
CMakeInstall.cmake f2b1d653cf Tests: Launch CMake.Install test through 'cmake --build' 12 yıl önce
CMakeLists.txt 2e615d4be9 Remove the Example from the source. 12 yıl önce
CTestUpdateBZR.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CTestUpdateCVS.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CTestUpdateCommon.cmake 243cfc2f6f ctest_update: Handle P4 unknown revisions more robustly 12 yıl önce
CTestUpdateGIT.cmake.in 78b81b773c CTest: Fix ctest_update with 'HEAD' file in source tree 13 yıl önce
CTestUpdateGIT.sh.in c3781efb28 ctest_update: Support Git upstream branch rewrites 15 yıl önce
CTestUpdateHG.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CTestUpdateP4.cmake.in 1b54b1d5b7 ctest_update: Do not remove the p4 depot name 12 yıl önce
CTestUpdateSVN.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
CheckFortran.cmake 2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' 15 yıl önce
EnforceConfig.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 yıl önce
README 42a81e7119 Add stronger infrastructure for CMake-only tests 14 yıl önce
RegexEscapeString.cmake c9b75dcd73 Fix test failures caused by regexp-sensitive characters in the build paths 12 yıl önce
bootstrap.bat.in 5e102d5e01 Enable BootstrapTest on MSYS 15 yıl önce
test_clean.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 yıl önce

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.