summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cdash_checksum_400'Brad King2023-07-251-1/+1
|\ | | | | | | | | | | | | | | b7c871f745 ctest: Update ctest_submit for CDash behavior change Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8648
| * ctest: Update ctest_submit for CDash behavior changeZack Galbreath2023-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | open.cdash.org was recently upgraded in preparation for the release of CDash v3.2.0. This upgrade brought a change in behavior where CDash now responds with HTTP 400 (bad request) rather than HTTP 200 (OK) for MD5 checksum mismatches during submission time. This commit removes our usage of CURLOPT_FAILONERROR in cmCTestSubmitHandler.cxx This was necessary to pass along the contents of the request body ("md5 mismatch") in cases where the web server (CDash) responds with an error status (400). Fixes: #25121
| * Tests: Always load presets schema as UTF-8Craig Scott2023-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | We know the encoding of the schema file, so we should specify it when we open it for reading. Previously, by not specifying it, the test was open to using an encoding based on the active locale when running the test. We may have been enforcing a "C" locale at a higher level, but we don't need to rely on that here, we can force correct behavior without that assumption. Issue: #24679
* | Merge topic 'remove-exec-program-usage'Brad King2023-07-256-45/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | edfa4d762d cmake_uninstall.cmake.in: Replace exec_program() with execute_process() 8776236161 Tests/ExternalOBJ: Replace exec_program() with execute_process() 54a68b221a Tests/ComplexOneConfig: Replace exec_program() with execute_process() 13e674b61b Tests/Complex: Replace exec_program() with execute_process() e43d97cb29 Tests/CommandLineTest: Replace exec_program() with execute_process() 6463263ffa Tests/CMakeOnly: Replace exec_program() with execute_process() f73a5bfaa9 UsePkgConfig: Replace exec_program() with execute_process() 17bab9e709 FindwxWindows: Replace exec_program() with execute_process() ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8652
| * | Tests/ExternalOBJ: Replace exec_program() with execute_process()Kyle Edwards2023-07-242-2/+2
| | |
| * | Tests/ComplexOneConfig: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-3/+3
| | |
| * | Tests/Complex: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-3/+3
| | |
| * | Tests/CommandLineTest: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-34/+34
| | |
| * | Tests/CMakeOnly: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-3/+3
| | |
* | | Merge topic 'fix-ctest-timeout-regression'Brad King2023-07-252-0/+13
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 0e8584c89c CTest: Fix regression in calculating test timeout Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8647
| * | CTest: Fix regression in calculating test timeoutKyle Edwards2023-07-242-0/+13
| | | | | | | | | | | | Fixes: #25120
* | | Merge topic 'file-REAL_PATH-relative'Brad King2023-07-2411-0/+89
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b5f2dbbfe file(REAL_PATH): resolve symlinks before '..' components Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8605
| * | | file(REAL_PATH): resolve symlinks before '..' componentsRobert Maynard2023-07-2011-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously REAL_PATH would collapse paths before resolving any symlinks so if `..` crossed a symlink the output from `REAL_PATH` would be wrong. It looked like REAL_PATH did this by mistake since it was a side-effect of ensuring we had an absolute path before resolving symlinks.
* | | | Merge topic 'dyndep-module-info-objlib-dependency'Brad King2023-07-248-0/+57
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b665966933 cmComputeLinkInformation: track OBJECT library dependencies a99b87a628 Tests/RunCMake/CXXModules: add a test for issue #25112 2870a67540 Tests/FortranOnly: add a test case for issue #25112 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8645
| * | | Tests/RunCMake/CXXModules: add a test for issue #25112Ben Boeckel2023-07-225-0/+39
| | | | | | | | | | | | | | | | | | | | Add a test case for C++ `OBJECT` libraries providing modules to consumers.
| * | | Tests/FortranOnly: add a test case for issue #25112Ben Boeckel2023-07-223-0/+18
| | | | | | | | | | | | | | | | | | | | Add a test case for Fortran `OBJECT` libraries providing modules to consumers.
* | | | Merge topic 'command-job-server-aware'Brad King2023-07-208-1/+297
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 95941fd990 add_custom_{target,command}: Add argument JOB_SERVER_AWARE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8547
| * | | add_custom_{target,command}: Add argument JOB_SERVER_AWAREChris Mahoney2023-07-198-1/+297
| | | | | | | | | | | | | | | | Issue: #16273
* | | | Merge topic 'imported-implib-only'Brad King2023-07-1911-9/+79
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7351d590ee cmTarget: Add a way to represent imported shared library stubs 83574a4772 GeneratorExpression: Expand testing of imported location resolution b75ff51947 Testing: Map RelWithDebInfo config in GeneratorExpression test Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8582
| * | | | cmTarget: Add a way to represent imported shared library stubsRobert Maynard2023-07-1810-9/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shared library stubs can be used for linking, but not at runtime. Their role is similar to import libraries on Windows, so represent their location with the `IMPORTED_IMPLIB` target property. Fixes: #24940
| * | | | GeneratorExpression: Expand testing of imported location resolutionRobert Maynard2023-07-182-0/+21
| | | | |
| * | | | Testing: Map RelWithDebInfo config in GeneratorExpression testRobert Maynard2023-07-061-0/+1
| | | | |
* | | | | Merge topic 'cmCMakePath-SunPro-sparc-workaround'Brad King2023-07-192-0/+442
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 945b9b8132 cmCMakePath: workarounds for Sunpro/sparc compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8633
| * | | | | cmCMakePath: workarounds for Sunpro/sparc compilerMarc Chevrier2023-07-182-0/+442
| | | | | |
* | | | | | LINK_OPTIONS: ensure correct dollar escapingMarc Chevrier2023-07-174-1/+10
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Ensure correct escaping for Ninja and Makefile generators. Fixes: #25049
* | | | | Merge topic 'find_library-simplify-regex'Brad King2023-07-142-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f60e921262 find_library: Improve regex readability in --debug-find output Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8618
| * | | | | find_library: Improve regex readability in --debug-find outputThomas Schenker2023-07-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there is only one possible library prefix/suffix, omit the capture group around it in the debug output.
* | | | | | Merge topic 'module-mapper-clang-transitive'Brad King2023-07-1412-11/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57ef353d22 cmExperimental: refresh the C++ modules UUID 7b05724ac8 cmCxxModuleMapper: give transitive usages to Clang as well c9df4568da cmCxxModuleMapper: factor out transitive usage computation 71f1483aac Tests/RunCMake/CXXModules: require transitive usages e39b6ebc19 cmCxxModuleMapper: use a `char` for streaming single bytes Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8610
| * | | | | | cmExperimental: refresh the C++ modules UUIDBen Boeckel2023-07-1310-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The transitive support for Clang is a change in support for the ecosystem.
| * | | | | | Tests/RunCMake/CXXModules: require transitive usagesBen Boeckel2023-07-132-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang 17 is in a transition where it warns about transitive usages. Turn it into an error if the flag is available to make sure we're testing the feature properly.
* | | | | | | Merge topic 'debugger-breakpoints'Brad King2023-07-141-0/+13
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | 60b6383993 Debugger: Always clear existing breakpoints on setBreakpoints Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8624
| * | | | | Debugger: Always clear existing breakpoints on setBreakpointsBen McMorran2023-07-131-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25063
| * | | | | Merge topic 'debugger-no-supportsVariableType' into release-3.27Brad King2023-07-133-4/+38
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e02cf3f190 Debugger: Correctly handle clients without supportsVariableType Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Garrett Campbell <gcampbell@microsoft.com> Merge-request: !8620
* | \ \ \ \ \ Merge topic 'debugger-no-supportsVariableType'Brad King2023-07-133-4/+38
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e02cf3f190 Debugger: Correctly handle clients without supportsVariableType Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Garrett Campbell <gcampbell@microsoft.com> Merge-request: !8620
| * | | | | | Debugger: Correctly handle clients without supportsVariableTypeBen McMorran2023-07-123-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25057
* | | | | | | Merge topic 'genex-REMOVE_DUPLICATES-empty'Brad King2023-07-133-0/+10
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 861dd60ecf Genex: Restore REMOVE_DUPLICATES preservation of empty elements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8623
| * | | | | | Genex: Restore REMOVE_DUPLICATES preservation of empty elementsBrad King2023-07-123-0/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 72d116ee68 (GenEx: list oriented genexes use cmList class, 2023-03-29, v3.27.0-rc1~205^2) accidentally caused empty elements to be dropped by the `REMOVE_DUPLICATES` genex. Fix it and add a test case. Fixes: #25080
* | | | | | Merge topic 'compile-commands-modules'Brad King2023-07-126-0/+66
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 677b28dc7b Ninja: include module mapper flags in `compile_commands.json` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8611
| * | | | | Ninja: include module mapper flags in `compile_commands.json`Ben Boeckel2023-07-096-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24618
| * | | | | Merge topic 'debugger-segfault' into release-3.27Brad King2023-06-301-1/+29
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 764258771a Debugger: Fix threads request segfault after thread exited event Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8604
| * \ \ \ \ \ Merge topic 'FetchContent-unparsed-arguments' into release-3.27Brad King2023-06-304-4/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ede4cab2b FetchContent: Protect ExternalProject keywords from unknown arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !8598
| * \ \ \ \ \ \ Merge topic 'vs-cxxmodules-same-src-name' into release-3.27Brad King2023-06-306-0/+42
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9c99830c5 VS: Fix C++ modules in source files with the same name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8596
* | | | | | | | | apple: add preliminary visionOS supportGregor Jasny2023-07-115-2/+35
| | | | | | | | |
* | | | | | | | | Merge topic 'test-lib-order'Brad King2023-07-111-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2a28d185a Tests: Improve order of CMakeLibTests link libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8617
| * | | | | | | | Tests: Improve order of CMakeLibTests link librariesBrad King2023-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid repeating `libCMakeLib.a` multiple times on the link line.
* | | | | | | | | Merge topic 'source_group-TREE-no-FILES'Brad King2023-07-075-0/+25
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87788353cc source_group: Add test/example for TREE without FILES d85238a2f2 source_group: Fix TREE without FILES Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8599
| * | | | | | | | source_group: Add test/example for TREE without FILESAlex Neundorf2023-07-055-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates an additional target and for its three source files a directory tree is created.
* | | | | | | | | Merge topic 'FindPython-enhance-tests'Brad King2023-06-303-28/+218
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 97b3a2ac17 FindPython: Add labels Python2 and/or Python3 on tests 9b45210b05 FindPython: Add tests for IronPython v3 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8603
| * | | | | | | | | FindPython: Add labels Python2 and/or Python3 on testsMarc Chevrier2023-06-291-2/+66
| | | | | | | | | |
| * | | | | | | | | FindPython: Add tests for IronPython v3Marc Chevrier2023-06-293-26/+152
| |/ / / / / / / /