summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GLBrad King2017-11-1712-1/+59
| | | | Fixes: #17449
* Merge topic 'cmake-gui-qt-static-windows'Brad King2017-11-141-4/+12
|\ | | | | | | | | | | | | | | 3a993c49 Tests: Add options to disable tests requiring Qt 27a73f16 cmake-gui: Add build option to use Qt5 windows plugin statically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1476
| * Tests: Add options to disable tests requiring QtBrad King2017-11-131-4/+12
| |
| * Merge branch 'implicit-lib-gcceh' into release-3.10Brad King2017-11-081-1/+21
| |\ | | | | | | | | | Merge-request: !1460
* | \ Merge topic 'update-ctest-documentation'Brad King2017-11-101-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b272ff8 Help: Add 'Label and Subproject Summary' section to ctest(1) manual 002d0a1c Help: Normalize capitalization of 'CTest' in ctest(1) manual 9d3aa95c Help: Divide ctest(1) manual options into sections 7904b659 Tests: Remove incorrect use of 'test-timeout' option e80dc2ad cmCTest: Remove dead code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1427
| * | | Tests: Remove incorrect use of 'test-timeout' optionBetsy McPhail2017-11-101-1/+1
| | | |
* | | | Tests: In CTestTest2 configure KWSys encoding to match CMakeBrad King2017-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | During configuration of KWSys by CMake we write UTF-8 content to a string used by KWSys tests. Tell KWSys to interpret it as UTF-8 instead of the ANSI code page.
* | | | Merge topic 'cmake-default-dir-install-permissions'Brad King2017-11-098-0/+85
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e896029 CPack: enable setting default dir creation permissions a4c82916 CPack test: expand output checking fallback 670ad047 Move file/dir permissions code to common file. deeba85f CMake: enable setting default dir creation permissions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1433
| * | | | CPack: enable setting default dir creation permissionsDomen Vrankar2017-11-086-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces CPACK_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable which adds support for functionality introduced by CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable. Fixes #17333 # Conflicts: # Help/release/dev/cmake-default-dir-install-permissions.rst
| * | | | CPack test: expand output checking fallbackDomen Vrankar2017-11-082-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Some tests can have the same output for a certain subtest no matter which packaging generator is used.
* | | | | Merge topic 'contract-plplot'Brad King2017-11-093-0/+23
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 05e9f6ec Tests: Add contract test for PLplot Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1452
| * | | | Tests: Add contract test for PLplotBrad King2017-11-083-0/+23
| | | | |
* | | | | Merge topic 'imported-promotion'Brad King2017-11-089-1/+155
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a3922be Add new target-property `IMPORTED_GLOBAL`. 854e482a cmTarget: Simplified and fixed a string-comparision. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1254
| * | | | | Add new target-property `IMPORTED_GLOBAL`.Deniz Bahadir2017-11-079-1/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this new `IMPORTED_GLOBAL` target-property is to prolong the lifetime and scope of `IMPORTED` targets in such a way as if they had been created with the keyword `GLOBAL` in the first place. * It can only be set to `TRUE`. That means, a local `IMPORTED` target can be promoted to global scope but a global `IMPORTED` target cannot be degraded to local scope! * Setting it to `TRUE` only succeeds if done from within the same directory in which the `IMPORTED` target was created in the first place. Fixes #17256.
* | | | | | Merge topic 'implicit-lib-gcceh'Brad King2017-11-081-1/+21
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | 41aacca7 Restore exclusion of "gcc_eh" from implicit link libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1460
| * | | | Restore exclusion of "gcc_eh" from implicit link librariesChristian Pfeiffer2017-11-081-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.9.0-rc1~148^2 (Do not assume GCC libs are linked by all compilers, 2017-05-05) we no longer filter out all `gcc*` implicit link libraries. This allows mixing of gcc and non-gcc compilers across languages. However, this caused a subtle problem with how GCC makes exception handling symbols available to linked binaries. GCC (at least on MinGW) provides two different libraries with exception handling symbols: * gcc_s: A shared library with -fvisibility=default, used by -shared-libgcc. * gcc_eh: A static library with -fvisibility=hidden, used by -static-libgcc. The C compiler (on MinGW) defaults to -static-libgcc and uses gcc_eh. The C++ compiler defaults to -shared-libgcc and uses gcc_s when linking shared libraries and executables so that exceptions can propagate across shared libraries [1]. When linking a mixed-language binary, the C++ compiler should be used along with its choice of gcc_s. In this case gcc_eh should not be added even though the C compiler implies it because gcc_s supersedes it. Since the above-mentioned change, CMake is adding gcc_eh to C++ link lines that also contain C code on MinGW. This causes both gcc_s and gcc_eh to be used, which is incorrect. We can fix this simply by excluding gcc_eh from the C compiler's implicit link libraries. [1] https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Link-Options.html#Link-Options Fixes: #17436
| * | | | Autogen: Tests: Backport tests for _autogen target dependenciesSebastian Holtermann2017-09-1311-47/+182
| | | | |
| * | | | Merge branch 'backport-genex-SOURCES-test' into release-3.9Brad King2017-09-071-2/+2
| |\ \ \ \
| | * | | | Tests: Fix RunCMake.GeneratorExpression to run in CMake 3.9Brad King2017-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | CMake 3.9 does not have CMP0070, so port away from it for that branch.
| * | | | | Merge branch 'backport-vs-csharp-ref-no-asm' into release-3.9Brad King2017-09-053-0/+25
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1203
| * \ \ \ \ \ Merge branch 'fix-genex-SOURCES' into release-3.9Brad King2017-09-015-0/+15
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | Merge-request: !1218
* | | | | | | 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