Brad King 3541fc73a1 Merge topic 'ExternalProject_FixLog' 10 éve
..
AliasTarget b0f277db38 HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards 11 éve
Architecture 765b46d1e1 Xcode: Fix test architecture selection for Xcode >= 5 12 éve
ArgumentExpansion 9db3116226 Remove CMake-language block-end command arguments 13 éve
Assembler 29c3edb87a Avoid if() quoted auto-dereference 11 éve
BuildDepends 9660a3ccea Makefile: Fix multiple custom command outputs with one missing 10 éve
BundleGeneratorTest 77543bde41 Convert CMake-language commands to lower case 13 éve
BundleTest d25dbc9059 Tests/BundleTest: Drop use of ChangeLog.txt 12 éve
BundleUtilities 50e261ddb6 OSX: Warn when attempting to change runtime paths on OS X 10.5 11 éve
CFBundleTest b189c5994d Tests: Run CFBundleTest only with valid configuration 11 éve
CMakeCommands 0778016a0b Tests: Do not try to use invalid "ld -v" flag on Solaris 11 éve
CMakeLib 356c26ebdf cmSystemTools: Teach RunSingleCommand to separate stdout and stderr 10 éve
CMakeOnly 5685817874 FindHDF5: Add version support 10 éve
CMakeTestAllGenerators 0baf5659c6 Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators 14 éve
CMakeTestMultipleConfigures 9db3116226 Remove CMake-language block-end command arguments 13 éve
CMakeTests 332ee3e305 Tests: Fix CheckSourceTree test when build is under source (#15566) 10 éve
COnly 9db3116226 Remove CMake-language block-end command arguments 13 éve
CPackComponents 9db3116226 Remove CMake-language block-end command arguments 13 éve
CPackComponentsDEB e3f522f6e4 CPack/DEB per component dependencies 10 éve
CPackComponentsForAll 76080c32e1 CPackRPM content listing refactor 10 éve
CPackComponentsPrefix 7c103be8de CPack: Enable DEB and RPM tests more reliably 10 éve
CPackTestAllGenerators 587b7b6f5e Tests: Use the right path to CPack value for running CPack tests 13 éve
CPackWiXGenerator b633b26308 CPackWiX: Fix test to build with expected config 12 éve
CTestBuildCommandProjectInSubdir 9f5bd180c8 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables 12 éve
CTestConfig d506fee81c Tests: Use -A option to pass generator platform selection 11 éve
CTestCoverageCollectGCOV 9a544f2d98 CTestCoverageCollectGCOV: Support CTEST_CUSTOM_COVERAGE_EXCLUDE 10 éve
CTestLimitDashJ e378ba5f39 Add CTestLimitDashJ test (#12904) 13 éve
CTestScriptMode 9db3116226 Remove CMake-language block-end command arguments 13 éve
CTestTest 09ab207c66 Tests: Add generator platform support 11 éve
CTestTest2 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestBadExe 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestBadGenerator 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestChecksum 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestConfigFileInBuildDir 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestCostSerial 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestCrash 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestCycle 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestDepends 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestEmptyBinaryDirectory 9d9f102f53 Tests: added test for ctest_empty_binary_directory() 12 éve
CTestTestFailure 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestFdSetSize 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestLabelRegExp 887532f0f0 CTest: Fix combined inclusive/exclusive label regular expressions 11 éve
CTestTestLaunchers 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestMissingDependsExe 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 éve
CTestTestParallel 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestResourceLock 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestRunScript 77543bde41 Convert CMake-language commands to lower case 13 éve
CTestTestScheduler 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestSerialInDepends ff59365f8b CTest: fix dashboard issues associated with the ctest-fix-run-serial topic 12 éve
CTestTestSerialOrder 7f0d4aff24 CTest: fix regressions introduced by the ctest-fix-run-serial topic 12 éve
CTestTestSkipReturnCode 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestStopTime 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestSubdir 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestTimeout 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestUpload 09ab207c66 Tests: Add generator platform support 11 éve
CTestTestVerboseOutput 874fdd914a CTest: Output test-specific env vars in verbose mode (#15446) 11 éve
CTestTestZeroTimeout 09ab207c66 Tests: Add generator platform support 11 éve
CheckCompilerRelatedVariables 65624c39e3 VS14: Add Visual Studio 14 generator (#14982) 11 éve
CoberturaCoverage 50daf239b0 CTest: Generalize Cobertura coverage format handling 11 éve
CommandLineTest 9db3116226 Remove CMake-language block-end command arguments 13 éve
CompatibleInterface 6e7e881c57 Honor $<LINK_ONLY> when checking interface properties 11 éve
CompileCommandOutput 77543bde41 Convert CMake-language commands to lower case 13 éve
CompileDefinitions 494f6e8d5b Tests: Shorten paths in CompileDefinitions 11 éve
CompileFeatures ecb1d5b47a Features: VS 2013 Update 3 supports initializer lists (#15494) 10 éve
CompileOptions fbf7a92975 Makefile: Handle '#' in COMPILE_OPTIONS (#15070) 11 éve
Complex 560b3e9f1d Tests: Remove incorrect indentation from Complex test comment 11 éve
ComplexOneConfig 560b3e9f1d Tests: Remove incorrect indentation from Complex test comment 11 éve
ConfigSources bb5905bb13 cmTarget: Don't allow relative paths in INTERFACE_SOURCES 11 éve
Contracts ad330edaa2 Tests/Contracts: Submit notes with VTK build 12 éve
CrossCompile 77543bde41 Convert CMake-language commands to lower case 13 éve
CustComDepend 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 éve
CustomCommand abec4213d6 Merge topic 'fix-OBJECT_DEPENDS-after-path-normalization' 11 éve
CustomCommandByproducts 86032ae0eb ExternalProject: Replace placeholder tokens in BYPRODUCTS 11 éve
CustomCommandWorkingDirectory 77543bde41 Convert CMake-language commands to lower case 13 éve
CxxDialect 60a981ea8e Features: Enable compiler extensions by default. 11 éve
CxxOnly 749584509e Fix CXX/Fortran MODULE flags when enabled before C (#12929) 14 éve
CxxSubdirC 07fc7b75ef Tests: Test using objects from a language enabled in a subdirectory (#15325) 11 éve
DelphiCoverage 5c31c3e4eb CTest: Add code coverage parser for Pascal/Delphi 11 éve
Dependency 4db31095e5 Fix link line order when shared libraries are de-duplicated 11 éve
DoubleProject 5badf5f734 Fix the case where cmake --build failed with two project cmds in one file. 14 éve
EmptyDepends 223850576b Watcom: Avoid prompt from wmake about dll with no exports... 13 éve
EmptyLibrary 220c5dc45a Add test that CMake errors with empty libs 15 éve
EmptyProperty 31bd83e9fc set_property: Do not remove a property when APPENDing nothing 12 éve
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 éve
ExportImport 4fc4742477 Tests: Fix ExportImport on AIX with GCC 10 éve
ExternalOBJ 9db3116226 Remove CMake-language block-end command arguments 13 éve
ExternalProject a0d620de82 ExternalProject: Fix log when the first arg of commands is "COMMAND" (#15567) 10 éve
ExternalProjectLocal 70c50962fb Tests: Shorten paths in ExternalProjectLocal 11 éve
ExternalProjectSubdir e1c6df392b ExternalProject: Allow dependencies on INTERFACE libraries 10 éve
ExternalProjectUpdate aba5cec6b2 ExternalProject: Add unit tests for UPDATE_DISCONNECTED 11 éve
FindGSL 1b28e3b28b FindGSL: Add module to find the GNU Scientific Library 11 éve
FindGTK2 7efef02df2 FindGTK2: Add tests for components and targets in gtk and gtkmm modules 12 éve
FindJsonCpp a576844263 FindJsonCpp: Drop new module due to upstream jsoncpp providing package 11 éve
FindMatlab bb2a42aeca Tests: Increasing the stability of the FindMatlab.basic_checks test 10 éve
FindModulesExecuteAll 9db3116226 Remove CMake-language block-end command arguments 13 éve
FindPackageModeMakefileTest b0b4b4602f Remove .* expressions from beginning and end of MATCHES regexs 11 éve
FindPackageTest d430cb7c36 Tests: Fix failures when running under the default install prefix (#15566) 10 éve
ForceInclude 29c3edb87a Avoid if() quoted auto-dereference 11 éve
Fortran 29c3edb87a Avoid if() quoted auto-dereference 11 éve
FortranC 29c3edb87a Avoid if() quoted auto-dereference 11 éve
FortranOnly 54e900abfb CheckFortranCompilerFlag: Add test case 11 éve
Framework 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 éve
FunctionTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 éve
GeneratorExpression 5de63265e3 Genex: Only evaluate TARGET_OBJECTS to determine target sources. 12 éve
GhsMulti 48004d9dbe Add a 'Green Hills MULTI' generator on Windows 10 éve
IPO 77543bde41 Convert CMake-language commands to lower case 13 éve
IncludeDirectories ee38062be8 IncludeDirectories: Respect SYSTEM flag when using CONFIG genex. 11 éve
InterfaceLibrary ac14cbf017 Allow add_dependencies() on INTERFACE libraries (#15414) 11 éve
InterfaceLinkLibraries 0400cd5dd1 Make $<LINK_ONLY> available to projects (#14751) 11 éve
JCTest 9db3116226 Remove CMake-language block-end command arguments 13 éve
JacocoCoverage c771f9d945 CTest: Fix Jacoco Coverage 11 éve
Java 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 éve
JavascriptCoverage 220e81345b CTest: Add Javascript coverage parser 11 éve
Jump 9db3116226 Remove CMake-language block-end command arguments 13 éve
LibName 9db3116226 Remove CMake-language block-end command arguments 13 éve
LinkDirectory b7deca4a54 Test: Remove obsolete commented code. 12 éve
LinkFlags 152dfdab11 Add additonal tests for the linker flags 12 éve
LinkLanguage 750eb105c2 Test target link information invalidation 16 éve
LinkLine 77543bde41 Convert CMake-language commands to lower case 13 éve
LinkLineOrder 77543bde41 Convert CMake-language commands to lower case 13 éve
LinkStatic 29c3edb87a Avoid if() quoted auto-dereference 11 éve
LoadCommand 5c10514059 Tests: Simplify LoadCommand tests 11 éve
LoadCommandOneConfig 5c10514059 Tests: Simplify LoadCommand tests 11 éve
MFC 0e598b7bcd Tests: Only really run MFC test if we can build MFC apps (#11213) 14 éve
MacRuntimePath 09ab207c66 Tests: Add generator platform support 11 éve
MacroTest fa7d47ac5c Tests: Fix CMP0054 warnings 11 éve
MakeClean a247911a88 Tests: Don't read the LOCATION property from build targets. 12 éve
MathTest 9db3116226 Remove CMake-language block-end command arguments 13 éve
MissingInstall be0458c562 InstallRules: added new variable to disable generation of install rules 12 éve
MissingSourceFile 7af41c3492 Test that missing source mentions directory (#11677) 15 éve
Module 230f2d6e70 ExternalData: Add option to recursively match under directories 11 éve
ModuleDefinition 29c3edb87a Avoid if() quoted auto-dereference 11 éve
MumpsCoverage 6d66e396a1 CTEST: Fix MUMPS file parser and update test 11 éve
NewlineArgs 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 éve
ObjC++ 77543bde41 Convert CMake-language commands to lower case 13 éve
ObjectLibrary 2c470b775a add_library: Allow arbitrary non-linked sources in OBJECT libraries 11 éve
OutDir 9a8ab86645 Encoding: Modify tests to work using non-ascii paths. 11 éve
OutOfBinary 77543bde41 Convert CMake-language commands to lower case 13 éve
OutOfSource 9db3116226 Remove CMake-language block-end command arguments 13 éve
PDBDirectoryAndName 29c3edb87a Avoid if() quoted auto-dereference 11 éve
PerConfig 3e84e78c3f Use a more reliable regex for extracting binary INFO strings 11 éve
Plugin b0f277db38 HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards 11 éve
Policy0002 65a78ec5b8 Test support for OLD behavior of policy CMP0002 16 éve
PolicyScope 9db3116226 Remove CMake-language block-end command arguments 13 éve
PositionIndependentTargets fe732264e9 Add the INTERFACE_LIBRARY target type. 12 éve
PreOrder 77543bde41 Convert CMake-language commands to lower case 13 éve
PrecompiledHeader 29c3edb87a Avoid if() quoted auto-dereference 11 éve
Preprocess baef72f2b3 Tests: Update Preprocess test for XL compiler limitations 10 éve
Properties 4959f3413c cmSourceFileLocation: Collapse full path for directory comparisons. 12 éve
PythonCoverage d0ec3a01a6 Adding support for the Python coverage.py tool. 12 éve
Qt4And5Automoc 1fc9ecfae6 FindQt4: Make AUTOMOC work regardless which order Qt 4/5 is found. 12 éve
Qt4Deploy ab9661c1dd Remove QtGui dependency in Qt4Deploy test and verify QtSql existance. 14 éve
Qt4Targets 17c31b8bd4 Qt4: Extend the Qt4Targets test to cover dir and target moc parameters. 11 éve
QtAutoUicInterface 98093c45db QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. 12 éve
QtAutogen 258ba82882 QtAutogen: Process 'rcc --list' stdout and stderr separately (#15523) 10 éve
QtAutomocNoQt a223a3b65f Automoc: Don't create automoc targets if Qt is not used (#13999) 13 éve
ReturnTest ddac8d3d2d Fix spelling and typos (affecting binary data / module messages) 12 éve
RunCMake 03a65dab30 Merge topic 'run-include-what-you-use' 10 éve
RuntimePath 9db3116226 Remove CMake-language block-end command arguments 13 éve
SBCS ba89e92ba6 Visual Studio: Allow setting Single Byte Character Set (#12189) 14 éve
SameName 77543bde41 Convert CMake-language commands to lower case 13 éve
SetLang 77543bde41 Convert CMake-language commands to lower case 13 éve
Simple 9db3116226 Remove CMake-language block-end command arguments 13 éve
SimpleCOnly 9db3116226 Remove CMake-language block-end command arguments 13 éve
SimpleExclude 9db3116226 Remove CMake-language block-end command arguments 13 éve
SimpleInstall c85672634c Tests: Teach SimpleInstall to use "cmake --build" 12 éve
SimpleInstallS2 c85672634c Tests: Teach SimpleInstall to use "cmake --build" 12 éve
SourceFileProperty b7d760aea2 test: test source file properties with case-insensitivity 11 éve
SourceGroups 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 éve
SourcesProperty bb5905bb13 cmTarget: Don't allow relative paths in INTERFACE_SOURCES 11 éve
StagingPrefix 09ab207c66 Tests: Add generator platform support 11 éve
StringFileTest 197a026cfb Fix failing StringFileTest when using unicode characters. 11 éve
SubDir 9db3116226 Remove CMake-language block-end command arguments 13 éve
SubDirSpaces 3a71d34cf3 Use CMAKE_SYSTEM_NAME instead of CMAKE_SYSTEM where sufficient 11 éve
SubProject 790e167718 VS: Fix subproject .sln dependencies on custom targets 11 éve
SwigTest 9db3116226 Remove CMake-language block-end command arguments 13 éve
SystemInformation dd043c3f21 Features: Add support for C++14 features. 11 éve
TargetName 9db3116226 Remove CMake-language block-end command arguments 13 éve
TestDriver 77543bde41 Convert CMake-language commands to lower case 13 éve
Testing 9db3116226 Remove CMake-language block-end command arguments 13 éve
TestsWorkingDirectory a27edd8a05 Fix XCode -> Xcode typos, notably in man page (#12231) 14 éve
TryCompile 29c3edb87a Avoid if() quoted auto-dereference 11 éve
Tutorial 36cf8a1eb9 Tests/Tutorial: Fix when USE_MYMATH is OFF 11 éve
Unset 261c248254 unset: Add PARENT_SCOPE option 12 éve
VSExcludeFromDefaultBuild a6e4e73da3 VS: Add option to put INSTALL target in .sln default build 10 éve
VSExternalInclude d506fee81c Tests: Use -A option to pass generator platform selection 11 éve
VSGNUFortran 307d45eaf4 Tests/VSGNUFortran: Avoid C++ comment in C code (#13314) 13 éve
VSMASM df3b007d7f VS: Add test for MASM support 11 éve
VSMidl e33cbda5c4 VSMidl Test: Use correct include_directories with VS6 (#11461) 15 éve
VSNsightTegra eeaa25e521 Add 'ANDROID_API_MIN' target property to set Android Target MIN API 11 éve
VSProjectInSubdir 1ca93182ad VS: Add test for building MSBuild project in subdir 12 éve
VSResource f4c5eade78 Ninja: Fix RC include directories regression 11 éve
VSWinStorePhone 4775c90145 VS: Add source file property to set extra hlsl shader flags 11 éve
VSWindowsFormsResx 01a9ab0def VS: Add support for XAML source files 10 éve
VSXaml 01a9ab0def VS: Add support for XAML source files 10 éve
VariableUnusedViaSet f7438ca7ac Add test for unused detection via setting it 15 éve
VariableUnusedViaUnset dee19760a7 Fix typo in VariableUnusedViaUnset test 15 éve
VariableUsage 75bda3864e Add tests for unused command line variables 15 éve
VisibilityInlinesHidden efdcebddbd VisibilityInlinesHidden: only apply -fvisibility-inlines-hidden to C++ sources 12 éve
WarnUnusedCliUnused 273ecab96d CLI: Suppress the unused warning if the key value pair is cached. 12 éve
Wrapping a247911a88 Tests: Don't read the LOCATION property from build targets. 12 éve
X11 9db3116226 Remove CMake-language block-end command arguments 13 éve
XCTest 87a4b8580c Tests: Add XCTest example to test Frameworks and Cocoa App Bundles 11 éve
iOSNavApp 64c9b318bf Xcode: Add test to demonstrate iOS project in Xcode 14 éve
.NoDartCoverage fa73553a59 clean up coverage some 23 éve
BootstrapTest.cmake 8ee6b47630 Tests: Launch BootstrapTest through cmake instead of ctest 12 éve
CMakeBuildTest.cmake.in d506fee81c Tests: Use -A option to pass generator platform selection 11 éve
CMakeCopyright.cmake 2bbf6bd7f8 Copyright.txt: Add test to check year range 12 éve
CMakeInstall.cmake f2b1d653cf Tests: Launch CMake.Install test through 'cmake --build' 12 éve
CMakeLists.txt 70d48e1287 Merge topic 'cpack-deb-component-dependencies' 10 éve
CTestUpdateBZR.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 éve
CTestUpdateCVS.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 éve
CTestUpdateCommon.cmake 645ad117e1 ctest_update: Add QUIET option 11 éve
CTestUpdateGIT.cmake.in 645ad117e1 ctest_update: Add QUIET option 11 éve
CTestUpdateGIT.sh.in c3781efb28 ctest_update: Support Git upstream branch rewrites 15 éve
CTestUpdateHG.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 éve
CTestUpdateP4.cmake.in 1b54b1d5b7 ctest_update: Do not remove the p4 depot name 12 éve
CTestUpdateSVN.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 éve
CheckFortran.cmake 2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' 15 éve
EnforceConfig.cmake.in 9db3116226 Remove CMake-language block-end command arguments 13 éve
README 42a81e7119 Add stronger infrastructure for CMake-only tests 14 éve
RegexEscapeString.cmake c9b75dcd73 Fix test failures caused by regexp-sensitive characters in the build paths 12 éve
bootstrap.bat.in 5e102d5e01 Enable BootstrapTest on MSYS 15 éve
test_clean.cmake.in 77543bde41 Convert CMake-language commands to lower case 13 éve

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.