Brad King 8472ef243f Merge topic 'cxx11-features' před 11 roky
..
AliasTarget cd3d0b613e get_property: Fix testing ALIASED_TARGET target property (#14670) před 12 roky
Architecture 765b46d1e1 Xcode: Fix test architecture selection for Xcode >= 5 před 12 roky
ArgumentExpansion 9db3116226 Remove CMake-language block-end command arguments před 13 roky
Assembler f60797f75b Tests/Assembler: Drop -g when generating sample assembly source před 12 roky
BuildDepends 73e5c6aead ExternalProject: Add option to always run the build step před 12 roky
BundleGeneratorTest 77543bde41 Convert CMake-language commands to lower case před 13 roky
BundleTest d25dbc9059 Tests/BundleTest: Drop use of ChangeLog.txt před 12 roky
BundleUtilities a247911a88 Tests: Don't read the LOCATION property from build targets. před 12 roky
CFBundleTest a5aadcd46d CFBundle test: Add isysroot argument when calling Rez. před 12 roky
CMakeCommands 8ed59fc207 Add target_compile_features command. před 11 roky
CMakeLib 270eb96df0 strings: Remove cmStdString references před 11 roky
CMakeOnly cf3e87e195 Tests: Teach CMakeOnly.AllFindModules to tolerate a system KDE4 před 11 roky
CMakeTestAllGenerators 0baf5659c6 Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators před 14 roky
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. před 16 roky
CMakeTestMultipleConfigures 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CMakeTests 5bd48ac534 Replace string(REGEX REPLACE) with string(REPLACE) where possible před 11 roky
COnly 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CPackComponents 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CPackComponentsForAll 193029c4aa cpack: For DragNDrop generator, add sysroot option when calling Rez. před 12 roky
CPackTestAllGenerators 587b7b6f5e Tests: Use the right path to CPack value for running CPack tests před 13 roky
CPackWiXGenerator b633b26308 CPackWiX: Fix test to build with expected config před 11 roky
CTestBuildCommandProjectInSubdir 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestConfig 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestLimitDashJ e378ba5f39 Add CTestLimitDashJ test (#12904) před 13 roky
CTestScriptMode 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CTestTest 9e41eb68ec Fix wording of "the the" typos throughout text před 12 roky
CTestTest2 c7c44fc7f4 CTestTest*: Update minimum required CMake to 2.4 před 12 roky
CTestTestBadExe 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestChecksum 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestConfigFileInBuildDir 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestCostSerial 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestCrash 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestCycle 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestDepends 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestEmptyBinaryDirectory 9d9f102f53 Tests: added test for ctest_empty_binary_directory() před 12 roky
CTestTestFailedSubmits 56ca8d4e63 Tests: Add generator toolset support před 13 roky
CTestTestFailure 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestFdSetSize 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestLaunchers 4fcb97eaac Tests: Add test for CTEST_USE_LAUNCHERS capture of custom commands před 12 roky
CTestTestMemcheck 27b812132c Tests/CTestTestMemcheck: Help Xcode 2.x create output dirs před 11 roky
CTestTestMissingDependsExe 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic před 12 roky
CTestTestParallel 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestResourceLock 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestRunScript 77543bde41 Convert CMake-language commands to lower case před 13 roky
CTestTestScheduler 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestSerialInDepends ff59365f8b CTest: fix dashboard issues associated with the ctest-fix-run-serial topic před 12 roky
CTestTestSerialOrder 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic před 12 roky
CTestTestSkipReturnCode 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestStopTime 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestSubdir 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestTimeout 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestUpload 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CTestTestZeroTimeout 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CheckCompilerRelatedVariables 77ac9b8b9c VS12: Add Visual Studio 12 generator (#14251) před 12 roky
CommandLineTest 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CompatibleInterface 2af966d9ab Genex: Add EQUAL expression. před 12 roky
CompileCommandOutput 77543bde41 Convert CMake-language commands to lower case před 13 roky
CompileDefinitions 5bb53f6b73 cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy. před 12 roky
CompileFeatures 60c0d2dd81 Features: Add cxx_defaulted_move_initializers. před 11 roky
CompileOptions 47a8db5bcd Add generator expressions for compiler versions. před 12 roky
Complex f21ac16edd Replace MATCHES test on numbers with EQUAL test před 11 roky
ComplexOneConfig f21ac16edd Replace MATCHES test on numbers with EQUAL test před 11 roky
ConfigSources 3676fb4963 cmTarget: Allow transitive evaluation of SOURCES property. před 11 roky
Contracts ad330edaa2 Tests/Contracts: Submit notes with VTK build před 12 roky
CrossCompile 77543bde41 Convert CMake-language commands to lower case před 13 roky
CustComDepend 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code před 13 roky
CustomCommand 5bd48ac534 Replace string(REGEX REPLACE) with string(REPLACE) where possible před 11 roky
CustomCommandWorkingDirectory 77543bde41 Convert CMake-language commands to lower case před 13 roky
CxxDialect 913394af24 cmTarget: Add CXX_STANDARD and CXX_EXTENSION target properties. před 11 roky
CxxOnly 749584509e Fix CXX/Fortran MODULE flags when enabled before C (#12929) před 14 roky
Dependency 77543bde41 Convert CMake-language commands to lower case před 13 roky
DoubleProject 5badf5f734 Fix the case where cmake --build failed with two project cmds in one file. před 14 roky
EmptyDepends 223850576b Watcom: Avoid prompt from wmake about dll with no exports... před 13 roky
EmptyLibrary 220c5dc45a Add test that CMake errors with empty libs před 15 roky
EmptyProperty 31bd83e9fc set_property: Do not remove a property when APPENDing nothing před 12 roky
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. před 17 roky
ExportImport 9eaf375598 Export: Populate INTERFACE_COMPILE_FEATURES property. před 11 roky
ExternalOBJ 9db3116226 Remove CMake-language block-end command arguments před 13 roky
ExternalProject 7d35b55060 ExternalProject: Add option to disable download progress (#14807) před 11 roky
ExternalProjectUpdate 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
FindGTK2 7efef02df2 FindGTK2: Add tests for components and targets in gtk and gtkmm modules před 12 roky
FindModulesExecuteAll 9db3116226 Remove CMake-language block-end command arguments před 13 roky
FindPackageModeMakefileTest b0b4b4602f Remove .* expressions from beginning and end of MATCHES regexs před 11 roky
FindPackageTest 7e187eeacd CMP0017: Fix check when including from CMake source tree před 11 roky
ForceInclude b29eadd8f3 Map multiple /FI flags for VS < 10 (#11649) před 15 roky
Fortran 4047557379 Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for nested test projects před 11 roky
FortranC 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
FortranOnly 5c0c635a09 Fortran: Add support for free- and fixed-form flags před 14 roky
Framework 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code před 13 roky
FunctionTest 9db3116226 Remove CMake-language block-end command arguments před 13 roky
GeneratorExpression 5de63265e3 Genex: Only evaluate TARGET_OBJECTS to determine target sources. před 11 roky
IPO 77543bde41 Convert CMake-language commands to lower case před 13 roky
IncludeDirectories faedd2bea9 cmTarget: Fix system include annotation propagation. před 12 roky
InterfaceLibrary e7a111f094 InterfaceLibrary: Add test requiring MAP_IMPORTED_CONFIG whitelisting před 12 roky
InterfaceLinkLibraries d0a76ea07c Introduce the INTERFACE_LINK_LIBRARIES property. před 12 roky
JCTest 9db3116226 Remove CMake-language block-end command arguments před 13 roky
Java 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code před 13 roky
Jump 9db3116226 Remove CMake-language block-end command arguments před 13 roky
LibName 9db3116226 Remove CMake-language block-end command arguments před 13 roky
LinkDirectory b7deca4a54 Test: Remove obsolete commented code. před 12 roky
LinkFlags 152dfdab11 Add additonal tests for the linker flags před 12 roky
LinkLanguage 750eb105c2 Test target link information invalidation před 16 roky
LinkLine 77543bde41 Convert CMake-language commands to lower case před 13 roky
LinkLineOrder 77543bde41 Convert CMake-language commands to lower case před 13 roky
LinkStatic 077954d4cb Test static linking with LINK_SEARCH_START_STATIC před 15 roky
LoadCommand 9db3116226 Remove CMake-language block-end command arguments před 13 roky
LoadCommandOneConfig 9db3116226 Remove CMake-language block-end command arguments před 13 roky
MFC 0e598b7bcd Tests: Only really run MFC test if we can build MFC apps (#11213) před 14 roky
MacRuntimePath 4047557379 Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for nested test projects před 11 roky
MacroTest 9db3116226 Remove CMake-language block-end command arguments před 13 roky
MakeClean a247911a88 Tests: Don't read the LOCATION property from build targets. před 12 roky
MathTest 9db3116226 Remove CMake-language block-end command arguments před 13 roky
MissingInstall be0458c562 InstallRules: added new variable to disable generation of install rules před 12 roky
MissingSourceFile 7af41c3492 Test that missing source mentions directory (#11677) před 15 roky
Module 45abfb0c4d find_dependency: Extend the tests for use of EXACT macro parameter. před 11 roky
ModuleDefinition 89987c2102 Test generated module .def files před 13 roky
MumpsCoverage 5b69ce49d4 Update test data to match new coverage format. před 13 roky
NewlineArgs 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code před 13 roky
ObjC++ 77543bde41 Convert CMake-language commands to lower case před 13 roky
ObjectLibrary 310aef959b Make ExportLanguages a subtest of the ObjectLibrary test před 12 roky
OutDir 6eff237c56 Fix OutDir test on HP, MinGW, and Cygwin před 16 roky
OutOfBinary 77543bde41 Convert CMake-language commands to lower case před 13 roky
OutOfSource 9db3116226 Remove CMake-language block-end command arguments před 13 roky
PDBDirectoryAndName fba51b096e MSVC: Add properties to configure compiler PDB files (#14762) před 11 roky
PerConfig b0b4b4602f Remove .* expressions from beginning and end of MATCHES regexs před 11 roky
Plugin 30ff6cf9e9 Refactor the Plugin test. před 12 roky
Policy0002 65a78ec5b8 Test support for OLD behavior of policy CMP0002 před 16 roky
PolicyScope 9db3116226 Remove CMake-language block-end command arguments před 13 roky
PositionIndependentTargets fe732264e9 Add the INTERFACE_LIBRARY target type. před 12 roky
PreOrder 77543bde41 Convert CMake-language commands to lower case před 13 roky
PrecompiledHeader 9db3116226 Remove CMake-language block-end command arguments před 13 roky
Preprocess a43e5e0ad5 Test COMPILE_DEFINITIONS target property get/set/get round-trip před 12 roky
Properties 4959f3413c cmSourceFileLocation: Collapse full path for directory comparisons. před 11 roky
PythonCoverage d0ec3a01a6 Adding support for the Python coverage.py tool. před 12 roky
Qt4And5Automoc 1fc9ecfae6 FindQt4: Make AUTOMOC work regardless which order Qt 4/5 is found. před 12 roky
Qt4Deploy ab9661c1dd Remove QtGui dependency in Qt4Deploy test and verify QtSql existance. před 14 roky
Qt4Targets 734df96f5a Qt4: Fix moc command dependencies for incremental build. před 11 roky
QtAutoUicInterface 98093c45db QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. před 12 roky
QtAutogen e6971df6ab cmTarget: Make the source files depend on the config. před 11 roky
QtAutomocNoQt a223a3b65f Automoc: Don't create automoc targets if Qt is not used (#13999) před 12 roky
ReturnTest ddac8d3d2d Fix spelling and typos (affecting binary data / module messages) před 12 roky
RunCMake b56a9ae7f1 Merge topic 'target_compile_features' před 11 roky
RuntimePath 9db3116226 Remove CMake-language block-end command arguments před 13 roky
SBCS ba89e92ba6 Visual Studio: Allow setting Single Byte Character Set (#12189) před 14 roky
SameName 77543bde41 Convert CMake-language commands to lower case před 13 roky
SetLang 77543bde41 Convert CMake-language commands to lower case před 13 roky
Simple 9db3116226 Remove CMake-language block-end command arguments před 13 roky
SimpleCOnly 9db3116226 Remove CMake-language block-end command arguments před 13 roky
SimpleExclude 9db3116226 Remove CMake-language block-end command arguments před 13 roky
SimpleInstall c85672634c Tests: Teach SimpleInstall to use "cmake --build" před 12 roky
SimpleInstallS2 c85672634c Tests: Teach SimpleInstall to use "cmake --build" před 12 roky
SourceGroups 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code před 13 roky
SourcesProperty 81ad69e056 Make the SOURCES target property writable. před 11 roky
StagingPrefix 7521da2852 Introduce CMAKE_STAGING_PREFIX variable. před 12 roky
StringFileTest 28e1d2f8fc cmStringCommand: Add GENEX_STRIP subcommand. před 11 roky
SubDir 9db3116226 Remove CMake-language block-end command arguments před 13 roky
SubDirSpaces 3a71d34cf3 Use CMAKE_SYSTEM_NAME instead of CMAKE_SYSTEM where sufficient před 11 roky
SubProject ce8810c4e7 ENH: preclean some warnings před 18 roky
SwigTest 9db3116226 Remove CMake-language block-end command arguments před 13 roky
SystemInformation f97bf4370c Features: Add cxx_auto_type. před 11 roky
TarTest 9db3116226 Remove CMake-language block-end command arguments před 13 roky
TargetName 9db3116226 Remove CMake-language block-end command arguments před 13 roky
TestDriver 77543bde41 Convert CMake-language commands to lower case před 13 roky
Testing 9db3116226 Remove CMake-language block-end command arguments před 13 roky
TestsWorkingDirectory a27edd8a05 Fix XCode -> Xcode typos, notably in man page (#12231) před 14 roky
TryCompile f6024ef420 Merge topic 'try_compile-COPY_FILE_ERROR' před 12 roky
Tutorial a247911a88 Tests: Don't read the LOCATION property from build targets. před 12 roky
Unset 261c248254 unset: Add PARENT_SCOPE option před 12 roky
VSExcludeFromDefaultBuild b777272b0b Add tests for EXCLUDE_FROM_DEFAULT_BUILD před 13 roky
VSExternalInclude 77ac9b8b9c VS12: Add Visual Studio 12 generator (#14251) před 12 roky
VSGNUFortran 307d45eaf4 Tests/VSGNUFortran: Avoid C++ comment in C code (#13314) před 13 roky
VSMidl e33cbda5c4 VSMidl Test: Use correct include_directories with VS6 (#11461) před 15 roky
VSProjectInSubdir 1ca93182ad VS: Add test for building MSBuild project in subdir před 12 roky
VSResource df9577259c Add support for Visual Studio project-specific globals (#8707) před 14 roky
VSWindowsFormsResx 6c9712c47b VS: Add Resx configuration to the vcxproj file před 12 roky
VariableUnusedViaSet f7438ca7ac Add test for unused detection via setting it před 15 roky
VariableUnusedViaUnset dee19760a7 Fix typo in VariableUnusedViaUnset test před 15 roky
VariableUsage 75bda3864e Add tests for unused command line variables před 15 roky
VisibilityInlinesHidden efdcebddbd VisibilityInlinesHidden: only apply -fvisibility-inlines-hidden to C++ sources před 12 roky
WarnUnusedCliUnused 273ecab96d CLI: Suppress the unused warning if the key value pair is cached. před 12 roky
Wrapping a247911a88 Tests: Don't read the LOCATION property from build targets. před 12 roky
X11 9db3116226 Remove CMake-language block-end command arguments před 13 roky
iOSNavApp 64c9b318bf Xcode: Add test to demonstrate iOS project in Xcode před 14 roky
.NoDartCoverage fa73553a59 clean up coverage some před 23 roky
BootstrapTest.cmake 8ee6b47630 Tests: Launch BootstrapTest through cmake instead of ctest před 12 roky
CMakeBuildTest.cmake.in 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables před 11 roky
CMakeCopyright.cmake 2bbf6bd7f8 Copyright.txt: Add test to check year range před 12 roky
CMakeInstall.cmake f2b1d653cf Tests: Launch CMake.Install test through 'cmake --build' před 12 roky
CMakeLists.txt b56a9ae7f1 Merge topic 'target_compile_features' před 11 roky
CTestUpdateBZR.cmake.in 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CTestUpdateCVS.cmake.in 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CTestUpdateCommon.cmake 5bd48ac534 Replace string(REGEX REPLACE) with string(REPLACE) where possible před 11 roky
CTestUpdateGIT.cmake.in 78b81b773c CTest: Fix ctest_update with 'HEAD' file in source tree před 13 roky
CTestUpdateGIT.sh.in c3781efb28 ctest_update: Support Git upstream branch rewrites před 15 roky
CTestUpdateHG.cmake.in 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CTestUpdateP4.cmake.in 1b54b1d5b7 ctest_update: Do not remove the p4 depot name před 12 roky
CTestUpdateSVN.cmake.in 9db3116226 Remove CMake-language block-end command arguments před 13 roky
CheckFortran.cmake 2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' před 15 roky
EnforceConfig.cmake.in 9db3116226 Remove CMake-language block-end command arguments před 13 roky
README 42a81e7119 Add stronger infrastructure for CMake-only tests před 13 roky
RegexEscapeString.cmake c9b75dcd73 Fix test failures caused by regexp-sensitive characters in the build paths před 12 roky
bootstrap.bat.in 5e102d5e01 Enable BootstrapTest on MSYS před 15 roky
test_clean.cmake.in 77543bde41 Convert CMake-language commands to lower case před 13 roky

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.