summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix -Wsuggest-destructor-override warning in testCMExtMemoryBrad King2020-07-281-1/+1
|
* Merge topic 'revert-add_test-special-chars'Brad King2020-07-2856-373/+6
|\ | | | | | | | | | | | | 5fc5f4d26e add_test: Revert "Allow special characters in test name" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5067
| * add_test: Revert "Allow special characters in test name"Brad King2020-07-2756-373/+6
| | | | | | | | | | | | | | | | | | | | | | | | Revert commit f84af8e270 (add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2). Unfortunately the fix breaks projects that were working around the limitation with manual escaping. The fix can be re-introduced with a policy in a future version. Also add a 3.18.1 release note explaining the change. Fixes: #21017, #20965 Issue: #19391
| * Merge topic 'graphviz-restore-per-target' into release-3.18Brad King2020-07-223-0/+56
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 1829220310 Merge branch 'backport-3.17-graphviz-restore-per-target' f3a6b4a209 Tests: Cover Graphviz support for per-target dependency graph options 93549b9224 Graphviz: Restore support for per-target dependency graph options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5039
| | * Merge branch 'backport-3.17-graphviz-restore-per-target'Brad King2020-07-213-0/+56
| | |\
| | | * Tests: Cover Graphviz support for per-target dependency graph optionsStephan Rohmen2020-07-213-0/+56
| | | | | | | | | | | | | | | | Issue: #20928
* | | | Merge topic 'ctest-prefer-normative-text'Brad King2020-07-281-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c83919d193 CTest: Prefer normative terms to express subprocess failures Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Riedel <mail@lukasriedel.com> Acked-by: Yunus Sevinchan <yunussevinchan@gmail.com> Merge-request: !5050
| * | | | CTest: Prefer normative terms to express subprocess failuresRobert Maynard2020-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | Issue: #21004
* | | | | Merge topic 'vs-lang-flags'Brad King2020-07-273-0/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a33a4ec68b Merge branch 'backport-vs-lang-flags' into vs-lang-flags c4109a1bc8 VS: Restore toleration of target-wide -TP flag with MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5051
| * \ \ \ \ Merge branch 'backport-vs-lang-flags' into vs-lang-flagsBrad King2020-07-233-0/+23
| |\ \ \ \ \
| | * | | | | VS: Restore toleration of target-wide -TP flag with MSVCBrad King2020-07-233-0/+23
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 3b547e2e4b (VS: Simplify logic adding source file C/C++ language flag to MSVC, 2020-05-15, v3.18.0-rc1~139^2~1) we only add a per-source language selection flag when the source file extension does not match the compiler's default. This approach breaks when a project adds a target-wide `-TP` flag. Although such projects likely did not work with non-VS generators, we did support them before in Visual Studio generators. Add a special case to tolerate such flags again. Fixes: #21005
* | | | | | Merge topic 'EXCLUDE_FROM_ALL-genex'Brad King2020-07-274-9/+6
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22bd267388 Help: Add release note for EXCLUDE_FROM_ALL genex support 807c8aa9f0 Tests: Simplify RunCMake.ExcludeFromAll single-config case 36743436cf Tests: Fix RunCMake.ExcludeFromAll test program warning 99c131c5a3 cmGlobalGenerator: Fix spelling of EXCLUDE_FROM_ALL in error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5049
| * | | | | Tests: Simplify RunCMake.ExcludeFromAll single-config caseBrad King2020-07-232-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also avoid using parts of an unrelated test (NinjaMultiConfig) that were not designed for use with all generators.
| * | | | | Tests: Fix RunCMake.ExcludeFromAll test program warningBrad King2020-07-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add a return value to `main()`.
| * | | | | cmGlobalGenerator: Fix spelling of EXCLUDE_FROM_ALL in error messageBrad King2020-07-231-1/+1
| | | | | |
* | | | | | Merge topic 'fix-typos-identified-using-codespell'Brad King2020-07-2321-23/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 207373802e Fix typos identified using codespell Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5040
| * | | | | | Fix typos identified using codespellJean-Christophe Fillion-Robin2020-07-2221-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ```
* | | | | | | Merge topic 'test-RunCMake.InterfaceLibrary'Brad King2020-07-2333-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ac9ee10ad Tests: Rename test RunCMake.{interface_library => InterfaceLibrary} Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5042
| * | | | | | | Tests: Rename test RunCMake.{interface_library => InterfaceLibrary}Brad King2020-07-2233-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our RunCMake.<lower-case> namespace is meant for testing individual CMake language commands.
* | | | | | | | Merge topic 'CheckTypeSize-std-types'Brad King2020-07-233-0/+38
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f786c6a40 Tests: Cover CheckTypeSize with uint8_t and std::uint8_t 371072e9e1 CheckTypeSize: Use C++-style headers to check for std:: types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5008
| * | | | | | | Tests: Cover CheckTypeSize with uint8_t and std::uint8_tBrad King2020-07-223-0/+38
| | | | | | | |
* | | | | | | | Merge topic 'EXCLUDE_FROM_ALL-genex'Brad King2020-07-2212-0/+97
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2cdaf43d96 Allow generator expressions in the EXCLUDE_FROM_ALL target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5021
| * | | | | | | Allow generator expressions in the EXCLUDE_FROM_ALL target propertyJoerg Bornemann2020-07-2112-0/+97
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for setting EXCLUDE_FROM_ALL, conditional on the build configuration. However, only the Ninja Multi-Config generator supports different property values per config. All other multi-config generators will yield an error in that situation. Fixes: #20923
* | | | | | | Merge topic 'TARGET_PROPERTY-strip-empty-list-elements'Brad King2020-07-223-3/+25
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af1a4f52be Genex: $<TARGET_PROPERTY> strip emtpy list elements for predefined properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5030
| * | | | | | | Genex: $<TARGET_PROPERTY> strip emtpy list elements for predefined propertiesMarc Chevrier2020-07-213-3/+25
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Fixes: #20951
* | | | | | | Tests: Cover Graphviz support for per-target dependency graph optionsStephan Rohmen2020-07-213-0/+64
| |_|/ / / / |/| | | | | | | | | | | | | | | | | Issue: #20928
* | | | | | Merge topic 'fix-xcode12-arm64-tests'Brad King2020-07-202-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 447ecbb692 Apple: also specify sysroot for linking 16692f4926 Apple: suppress Xcode 12 ranlib warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5028
| * | | | | | Apple: also specify sysroot for linkingGregor Jasny2020-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the compiler/linker will default to the wrong C++ runtime library.
| * | | | | | Apple: suppress Xcode 12 ranlib warningGregor Jasny2020-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Xcode 12 (Beta) toolchain for arm64 emits a warning when static libraries are created: ``` ranlib: archive member: libStaticLib.a(a.c.o) offset in archive not a multiple of 8 (must be since member is an 64-bit object file) ``` Due to the unexpected output multiple tests are broken. To make those tests pass we filter the problematic output in the test driver. See: https://developer.apple.com/forums/thread/652620
* | | | | | | Merge topic 'swift-link-iface'Brad King2020-07-201-0/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | 14a5712447 Swift: Fix regression in linking to interface libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5027
| * | | | | Swift: Fix regression in linking to interface librariesBrad King2020-07-171-0/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 2026915f8f (Swift: Propagate Swift_MODULE_DIRECTORY as include directory, 2020-02-03, v3.18.0-rc1~547^2) we internally call `GetAllConfigCompileLanguages` on all directly linked targets without checking if they are interface libraries that don't compile at all. That violates an internal assumption and assertion. Fixes: #20977
| * | | | Merge topic 'source_file_props_dedup_scopes' into release-3.18Craig Scott2020-07-141-0/+19
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6969b917d set_property: Deduplicate source file directory scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5009
| * \ \ \ \ Merge topic 'macos-11-file-GET_RUNTIME_DEPENDENCIES' into release-3.18Brad King2020-07-141-12/+14
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9af90504f Tests: Update file(G_R_D) test to make system library optional c51400033c file: Update GET_RUNTIME_DEPENDENCIES for macOS 11 dylib cache Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4998
| * \ \ \ \ \ Merge topic 'profiling-case-insensitive-command-names' into release-3.18Brad King2020-07-142-1/+18
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cf2f7d2af cmake: Store lowercase command names in profiling output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5007
* | | | | | | | FindX11: Add Xaw librariesKurt Sansom2020-07-162-0/+23
| |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | Fixes: #20963
* | | | | | | Merge topic 'cmake-E-create_hardlink'Brad King2020-07-1610-0/+49
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2fad00940d cmake: Add -E create_hardlink Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5015
| * | | | | | | cmake: Add -E create_hardlinkSibi Siddharthan2020-07-1510-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20950 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* | | | | | | | Move AddCompilerRequirementFlag to cmStandardLevelResolverRobert Maynard2020-07-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cmLocalGenerator::AddCompilerRequirementFlag was another source of truth on what standard levels existed per language, so fold that into cmStandardLevelResolver to make updating CMake easier
* | | | | | | | Merge topic 'source_file_props_dedup_scopes'Craig Scott2020-07-141-0/+19
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | / / / | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | f6969b917d set_property: Deduplicate source file directory scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5009
| * | | | | | set_property: Deduplicate source file directory scopesAlexandru Croitor2020-07-131-0/+19
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A user could specify the same directory scope to set_property() multiple times, which in conjunction with APPEND would append the property multiple times. Make sure to deduplicate scopes across both DIRECTORY and TARGET_DIRECTORY options, so that a property is only appended once in such a scenario. Fixes: #20941
* | | | | | Merge topic 'genx-COMPILE_LANGUAGE-support'Brad King2020-07-144-0/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6491d2503c Genex $<COMPILE_LANGUAGE>: Extend contexts supported Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5005
| * | | | | | Genex $<COMPILE_LANGUAGE>: Extend contexts supportedMarc Chevrier2020-07-134-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When genex $<TARGET_PROPERTY:...> for properties like INCLUDE_DIRECTORIES is evaluated as part of add_custom_command or add_custom_target, genex $<COMPILE_LANGUAGE> and $<COMPLIE_LANG_AND_ID> should be supported. Fixes: #20926
* | | | | | | Merge topic 'macos-11-file-GET_RUNTIME_DEPENDENCIES'Brad King2020-07-141-12/+14
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9af90504f Tests: Update file(G_R_D) test to make system library optional c51400033c file: Update GET_RUNTIME_DEPENDENCIES for macOS 11 dylib cache Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4998
| * | | | | | Tests: Update file(G_R_D) test to make system library optionalKyle Edwards2020-07-131-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the system library may not exist on the filesystem on macOS 11, skip it if it doesn't exist.
* | | | | | | Merge topic 'profiling-case-insensitive-command-names'Brad King2020-07-142-1/+18
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | / / / | | |_|/ / / | |/| | | | | | | | | | | | | | | | 7cf2f7d2af cmake: Store lowercase command names in profiling output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5007
| * | | | | cmake: Store lowercase command names in profiling outputCraig Scott2020-07-132-1/+18
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures commands can be properly aggregated by tools processing the profiling output. Fixes: #20946
* | | | | Merge topic 'stl-support-filesystem-path'Brad King2020-07-132-0/+1009
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d654bf3449 STL Support: Add cm::filesystem::path in <cm/filesystem> e5798126fc STL Support: introduce dedicated configuration file 4408f34cfe STL Support: Add function cm::quoted in <cm/iomanip> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4968
| * | | | | STL Support: Add cm::filesystem::path in <cm/filesystem>Marc Chevrier2020-07-092-0/+1009
| | | | | |
* | | | | | Merge topic 'cuda-memcheck'Brad King2020-07-138-2/+324
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cee92a9fb0 Help: add release notes for CTest cuda-memcheck support f38e4a1871 Tests: Add cases for CTest cuda-memcheck parser fe062800f0 CTest: add cuda-memcheck support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: tcojean <terry.cojean@kit.edu> Merge-request: !4952
| * | | | | | Tests: Add cases for CTest cuda-memcheck parserTobias Ribizel2020-07-098-2/+324
| | | | | | |