summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Avoid hanging on check for FortranBrad King2017-11-061-0/+1
| | | | Use a timeout when running the check for Fortran in case the tools hang.
* Tests: Pass generator instance into check for FortranBrad King2017-11-061-0/+6
| | | | | Check for a Fortran compiler using the same VS instance that we are testing.
* Merge topic 'typos'Brad King2017-11-067-8/+8
|\ | | | | | | | | | | | | 777e87ae Fix trivial typos in text Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1442
| * Fix trivial typos in textluzpaz2017-11-037-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* | Merge topic 'test-contract-refactor'Brad King2017-11-0610-288/+49
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c626b7e Tests: Refactor contract test activation 4bd5af63 Tests: Factor out contract test HOME finding 0ce082b7 Tests: Drop unused contract test environment script 36346de4 Tests: Drop unused contract test bbc9c966 Tests: Honor already-set CTEST_REAL_HOME in case of repeat run Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1444
| * | Tests: Refactor contract test activationBrad King2017-11-033-26/+25
| | | | | | | | | | | | | | | Use separate `CMake_TEST_CONTRACT_<project>` variables for each test. Make the set of possible tests match what is in the source tree.
| * | Tests: Factor out contract test HOME findingBrad King2017-11-033-36/+21
| | |
| * | Tests: Drop unused contract test environment scriptBrad King2017-11-031-32/+0
| | | | | | | | | | | | | | | `Trilinos/EnvScript.cmake` has machine-specific content that has been moved to the respective machines.
| * | Tests: Drop unused contract testBrad King2017-11-033-193/+0
| | |
| * | Tests: Honor already-set CTEST_REAL_HOME in case of repeat runBrad King2017-11-031-1/+3
| |/
* | Merge topic 'test-crash-ubsan'Brad King2017-11-061-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 701a637e Tests: Fix CTestTestCrash test under ubsan Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1443
| * | Tests: Fix CTestTestCrash test under ubsanBrad King2017-11-031-1/+1
| |/ | | | | | | | | UBsan causes our test crash to abort instead. Update our regex to tolerate this.
* | Merge topic 'server-refactor'Brad King2017-11-063-122/+224
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 39c2feaf misc: Added utility method to allow working with stacks f5d2988e server: Swapped to cm_thread impl 2636d86c utility: Added minimal std::thread drop-in d46b4ba8 server: Updated server tests to try various communication channels 08dca583 Tests: reworked server tests to allow other operation modes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1230
| * server: Updated server tests to try various communication channelsJustin Berger2017-11-012-105/+142
| |
| * Tests: reworked server tests to allow other operation modesJustin Berger2017-10-303-32/+97
| |
* | Add deprecation warnings for policies CMP0054 and belowBrad King2017-11-0145-23/+400
| | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.
* | Merge topic 'autogen-moc-predefs-no-moc-options'Brad King2017-11-011-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4e46f97c Merge branch 'backport-3.9' into autogen-moc-predefs-no-moc-options 978c98b7 Autogen: Don't add AUTOMOC_MOC_OPTIONS to moc-predefs command d3caf941 Autogen: Tests: Set AUTOMOC_MOC_OPTIONS in a simple test 96d20a4d Autogen: Don't use AUTOMOC_MOC_OPTIONS in moc-predefs command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: EoD <eod@xmw.de> Merge-request: !1432
| * | Autogen: Tests: Set AUTOMOC_MOC_OPTIONS in a simple testSebastian Holtermann2017-10-311-0/+5
| | |
| * | Merge branch 'cpack-rpm-dist-test-fix' into release-3.10Brad King2017-10-301-0/+5
| |\ \ | | | | | | | | | | | | Merge-request: !1424
| * \ \ Merge branch 'backport-fix-co-compile' into release-3.10Brad King2017-10-2714-5/+100
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !1418
| * \ \ \ Merge branch 'autogen-static-library-cycles' into release-3.10Brad King2017-10-279-0/+89
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1408
| * \ \ \ \ Merge branch 'cmp0040-wording' into release-3.10Brad King2017-10-261-3/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1415
* | \ \ \ \ \ Merge topic '16780-write-single-xcodeproj'Brad King2017-11-014-0/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4e9ce7c Xcode: Add option to generate only topmost project file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1395
| * | | | | | | Xcode: Add option to generate only topmost project fileGregor Jasny2017-10-314-0/+8
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Closes #16780
* | | | | | | Merge topic 'cmp0037-conditional-targets'Brad King2017-10-3133-8/+173
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae5f4069 CMP0037: Allow test and package targets when features are not enabled 409527a0 CMP0037: De-duplicate check and message generation a2611d81 Tests: Add RunCMake.CMP0037 case for WARN on reserved targets 103501c4 Tests: Do not enable languages in all cases of RunCMake.CMP0037 2d0b3e6e cmGlobalGenerator: Refactor test and package target conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1417
| * | | | | | CMP0037: Allow test and package targets when features are not enabledBrad King2017-10-3023-0/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CMake will not generate a test, package, or package_source target, allow projects to create their own targets with these names. Fixes: #16062
| * | | | | | Tests: Add RunCMake.CMP0037 case for WARN on reserved targetsBrad King2017-10-263-0/+41
| | | | | | |
| * | | | | | Tests: Do not enable languages in all cases of RunCMake.CMP0037Brad King2017-10-268-8/+8
| | | | | | |
* | | | | | | Merge topic 'cpack-deb-0-so-version-support'Brad King2017-10-303-3/+13
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5784ab8f CPack/Deb: handle shlibs file generation when SOVERSION set to 0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1423
| * | | | | | | CPack/Deb: handle shlibs file generation when SOVERSION set to 0Domen Vrankar2017-10-283-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS did not auto generate shlibs control file when .so version of the library was set to 0. Fixes #17318
* | | | | | | | Merge topic 'cpack-rpm-dist-test-fix'Brad King2017-10-301-0/+5
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ce00cae CPack/RPM: DIST-MONOLITHIC-type subtest fix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1424
| * | | | | | | CPack/RPM: DIST-MONOLITHIC-type subtest fixDomen Vrankar2017-10-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test was failing in case dist macro contained a + symbol which is valid but must be escaped for using the string as a regex. Fixes #17328
* | | | | | | | Merge topic 'fix-co-compile'Brad King2017-10-3014-5/+100
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 197b4e18 Merge branch 'backport-fix-co-compile' into fix-co-compile 992962c7 cmcmd: Restore support for running multiple lint tools a5197eea cmcmd: Convert lint handlers to file-static functions 1c075ffd cmcmd: Rename loop iteration variable for clarity Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1418
| * \ \ \ \ \ \ \ Merge branch 'backport-fix-co-compile' into fix-co-compileBrad King2017-10-2714-5/+100
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | / | | | |_|_|_|_|/ | | |/| | | | | Resolve a logical conflict by replacing `cmArray{Begin,End}` from the their side with `cm::{cbegin,cend}` from our side.
| | * | | | | | cmcmd: Restore support for running multiple lint toolsBrad King2017-10-2714-5/+100
| | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.10.0-rc1~115^2 (Clean up iwyu code to not be one big if statement, 2017-08-28) incorrectly changed the logic to run only one lint tool at a time. Restore support for running all tools specified on the command-line.
* | | | | | | Merge topic 'autogen-static-library-cycles'Brad King2017-10-309-0/+89
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 3a4db861 Autogen: Tests: Add test for STATIC_LIBRARY cycles 798e4f2f Autogen: Don't add STATIC_LIBRARY cycle targets to the _autogen dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1408
| * | | | | Autogen: Tests: Add test for STATIC_LIBRARY cyclesSebastian Holtermann2017-10-279-0/+89
| | |/ / / | |/| | |
| * | | | Merge branch 'imported-interface-no-system' into release-3.10Brad King2017-10-131-1/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1386
| * \ \ \ \ Merge branch 'cpack-deb-mr-1296-fix' into release-3.10Brad King2017-10-114-0/+21
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1375
| * \ \ \ \ \ Merge branch 'xcode-tests-ios-deployment-target' into release-3.10Brad King2017-10-105-27/+20
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | Merge-request: !1365
* | | | | | | Merge topic 'generalize-importedtargets-behavior'Brad King2017-10-2716-26/+132
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb88d2b5 Help: Add notes for topic 'generalize-importedtargets-behavior' 494906a8 Add support for IMPORTED GLOBAL targets to be aliased fe4b25ec Teach target_* commands to set INTERFACE properties of IMPORTED targets e40fd9fd cmTargetPropCommandBase: Fix typo in error message Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Henry Schreiner <henryschreineriii@gmail.com> Merge-request: !1264
| * | | | | | | Add support for IMPORTED GLOBAL targets to be aliasedDeniz Bahadir2017-10-265-6/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #15569 Issue: #17197
| * | | | | | | Teach target_* commands to set INTERFACE properties of IMPORTED targetsDeniz Bahadir2017-10-269-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, several `INTERFACE_*` properties can be set on `IMPORTED` targets, not only via `set_property` and `set_target_properties` but also via `target_compile_definitions`, `target_compile_features`, `target_compile_options`, `target_include_directories`, `target_sources` and `target_link_libraries`. Fixes: #15689 Issue: #17197
| * | | | | | | cmTargetPropCommandBase: Fix typo in error messageDeniz Bahadir2017-10-262-9/+9
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Merge topic 'cmp0040-wording'Brad King2017-10-271-3/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | a1b1f1a2 CMP0040: Clarify policy warning to match documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1415
| * | | | | CMP0040: Clarify policy warning to match documentationBrad King2017-10-261-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.5.0-rc1~8^2~2 (Help: Clarify policy `CMP0040` documentation, 2016-01-28) the documentation was clarified to indicate that the target must be defined in the current directory. Do the same for the text of the policy warning itself. Fixes: #17399
* | | | | Merge topic 'defer-target-source-check'Brad King2017-10-2518-50/+36
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4e7f6738 Defer check for sources within a target until generation. 6e4e7c65 Tests: Exclude bad RunCMake.add_executable case on multi-arch Xcode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1242
| * | | | | Defer check for sources within a target until generation.Deniz Bahadir2017-10-2417-49/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `add_library` and `add_executable` commands can now be called with no source-files and won't generate a warning or error message, as long as source-files will be added later via the `target_sources` command. If during the generation step still no sources are associated with targets created by such calls a useful error message will be generated and generation fails. Targets of type `INTERFACE_LIBRARY`, `UTILITY` or `GLOBAL_TARGET` are excluded from this check because we do not need sources for these target types during generation. Fixes: #16872
| * | | | | Tests: Exclude bad RunCMake.add_executable case on multi-arch XcodeBrad King2017-10-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `NoSourcesButLinkObjects` case would not be expected to work under Xcode with multiple architectures even if the target objects were listed directly as sources. Exclude it. We already exclude similar cases in `RunCMake.add_library`.
* | | | | | VS: Select and save a VS 2017 instance persistentlyBrad King2017-10-199-7/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 2017 supports multiple instances installed on a single machine. We use the Visual Studio Installer tool to enumerate instances and select one. Once we select an instance for a given build tree, save the result in `CMAKE_GENERATOR_INSTANCE` so we can re-configure the tree with the same instance on future re-runs of CMake. Fixes: #17268