summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmList-SUBLIST-regression'Brad King2023-06-201-0/+51
|\ | | | | | | | | | | | | | | 1cfaed0684 list(): restore SUBLIST behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8569
| * list(): restore SUBLIST behaviorMarc Chevrier2023-06-161-0/+51
| | | | | | | | Fixes: #25002
* | Merge topic 'CMake_TEST_FindPython2-3'Brad King2023-06-1619-379/+501
|\ \ | | | | | | | | | | | | | | | | | | 711d1da125 FindPython: add capability to select python version for the tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8565
| * | FindPython: add capability to select python version for the testsMarc Chevrier2023-06-1519-379/+501
| | |
* | | Merge topic 'cmuvprocesschain-external-stream-fd'Brad King2023-06-152-21/+127
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | b65d54e876 cmUVStreambuf: Update URL for example code 0878306386 cmUVStream: Add cmUVStreamRead() function b8fd273ed7 cmUVProcessChain: Return output and error streams as file descriptors ec81d40be4 cmUVPipeIStream: Add cmUVPipeIStream 3b6c5efc08 cm::append: Add support for std::basic_string on SPARC/SunPro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8559
| * | cmUVStream: Add cmUVStreamRead() functionKyle Edwards2023-06-141-0/+57
| | |
| * | cmUVProcessChain: Return output and error streams as file descriptorsKyle Edwards2023-06-141-21/+30
| | |
| * | cmUVPipeIStream: Add cmUVPipeIStreamKyle Edwards2023-06-141-0/+40
| | |
* | | Merge topic 'cross-compiling-emulator-env-var'Brad King2023-06-143-0/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7005dea005 CrossCompiling: Load CMAKE_CROSSCOMPILING_EMULATOR from environment Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8543
| * | | CrossCompiling: Load CMAKE_CROSSCOMPILING_EMULATOR from environmentMatt McCormick2023-06-133-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Read `CMAKE_CROSSCOMPILING_EMULATOR` from an environment variable of the same name if not specified with `-D` or an initial cache value. Along with existing environment variable settings such as `CMAKE_TOOLCHAIN_FILE`, cross compilation configuration can be more completely set via environment variables. Suggested-by: Henry Schreiner <henryschreineriii@gmail.com>
* | | | Drop Visual Studio 11 2012 generatorBrad King2023-06-135-30/+0
| |/ / |/| | | | | | | | This generator has been deprecated since CMake 3.25. Remove it.
* | | Merge topic 'cmuvprocesschain-input-file'Brad King2023-06-132-0/+34
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e329704546 cmUVProcessChain: Add support for SetExternalStream(Stream_INPUT) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8552
| * | | cmUVProcessChain: Add support for SetExternalStream(Stream_INPUT)Kyle Edwards2023-06-122-0/+34
| | | |
* | | | Merge topic 'test-no-git'Brad King2023-06-132-5/+7
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | | | | 15d9d591bd Tests: Require git to enable RunCMake.CMP0150 test 0c2610bd30 Tests: Find GIT_EXECUTABLE early enough to use in all tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8556
| * | Tests: Require git to enable RunCMake.CMP0150 testBrad King2023-06-121-1/+4
| | | | | | | | | | | | | | | | | | The test added by commit 550f63447d (ExternalProject/FetchContent: Support relative remote URLs, 2023-04-21, v3.27.0-rc1~156^2) covers Git-specific functionality, and requires a `git` tool to be available.
| * | Tests: Find GIT_EXECUTABLE early enough to use in all testsBrad King2023-06-121-4/+3
| | | | | | | | | | | | Some tests work only if a `git` executable is available.
| * | Merge topic 'add_test-empty-args' into release-3.27Brad King2023-06-123-0/+24
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1df3287bf6 add_test: Restore support for empty test arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8551
* | \ \ Merge topic 'add_test-empty-args'Brad King2023-06-123-0/+24
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 1df3287bf6 add_test: Restore support for empty test arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8551
| * | | add_test: Restore support for empty test argumentsMarc Chevrier2023-06-093-0/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | This was regressed by refactoring in commit e08ba229ee (CMake code rely on cmList class for CMake lists management (part. 1), 2023-04-14, v3.27.0-rc1~174^2). Fix it and add a test case. Fixes: #24986
* | | Merge topic 'cmuvprocesschain-spawn-result'Brad King2023-06-092-64/+203
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 891b60d691 cmUVProcessChain: Add Status::SpawnResult field 5be0cd9f3c cmUVProcessChain: Manually create pipes between processes bb5ec5c9b4 cmUVProcessChain: Do some internal refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8542
| * | | cmUVProcessChain: Add Status::SpawnResult fieldKyle Edwards2023-06-082-64/+203
| |/ /
* | | Merge topic 'Makefiles-safer-COLOR-usage'Brad King2023-06-092-0/+15
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 8195aa3026 Makefiles: quote `$(COLOR)` expansions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8548
| * | Makefiles: quote `$(COLOR)` expansionsBen Boeckel2023-06-082-0/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handles the case where `COLOR` is set to some ANSI-like color sequence in the ambient environment. These sequences tend to include `;` which terminates the command and tries to use the next component (typically an integer, possibly with a trailing `m`) with errors like: /bin/sh: line 1: 2: command not found /bin/sh: line 1: 255: command not found /bin/sh: line 1: 221: command not found /bin/sh: line 1: 255m: command not found Also add a test that sets `COLOR` in the environment which affects the generated Makefiles behavior. See: https://discourse.cmake.org/t/cmake-failing-gcc-compiler-checks/8277
* | Add deprecation warnings for policies CMP0120 and belowBrad King2023-06-0727-20/+302
|/ | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.20 and below to encourage projects to port away from setting policies to OLD.
* Merge topic 'verify-interface-header-sets-skip-linting'Kyle Edwards2023-06-063-0/+9
|\ | | | | | | | | | | | | 36ec89639a VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8540
| * VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTINGKyle Edwards2023-06-063-0/+9
| | | | | | | | Fixes: #24972
* | Merge topic 'apple-clang-asm-compiler-id'Brad King2023-06-061-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 8c789bee83 AppleClang: Fix ASM compiler identification Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8537
| * | AppleClang: Fix ASM compiler identificationGregor Jasny2023-06-051-1/+1
| | | | | | | | | | | | | | | Recent AppleClang compilers identify themselves as `Apple clang version 14.0.3 (clang-1403.0.22.14.1)`.
* | | Merge topic 'Apple-tbd-runpath-handling'Brad King2023-06-062-1/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bfa5b430b3 Apple text-based stubs: ensure runpath is correctly defined Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8536
| * | | Apple text-based stubs: ensure runpath is correctly definedMarc Chevrier2023-06-042-1/+9
| |/ / | | | | | | | | | This is a complement to !8204.
* | | Merge topic 'cmuvprocesschain-status-getexception'Kyle Edwards2023-06-062-14/+65
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 154fe00ca5 cmUVProcessChain: Add Status::GetException() method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8528
| * | cmUVProcessChain: Add Status::GetException() methodKyle Edwards2023-06-052-14/+65
| | |
* | | Merge topic 'file-api-query-command'Brad King2023-06-056-0/+100
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99b2ccf80d cmake_file_api: New project command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8530
| * | | cmake_file_api: New project commandCraig Scott2023-06-056-0/+100
| |/ / | | | | | | | | | | | | | | | | | | | | | Projects can use the new command to request file API replies for the current run. No query files are generated, the query is tracked internally. Replies are created in the file system at generation time in the usual way. Fixes: #24951
* | | Merge topic 'orkun_24968_02_06_2023'Brad King2023-06-051-4/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e462202a7 Test: Generate pseudo linters generator independent Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8532
| * | | Test: Generate pseudo linters generator independentOrkun Tokdemir2023-06-021-4/+6
| | |/ | |/| | | | | | | Fixes: #24968
* | | Merge topic 'ctest-timeout-signal'Brad King2023-06-0522-1/+241
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 54c5654f7d ctest: Optionally terminate tests with a custom signal on timeout e38c05688e CTest/cmProcess: Adopt field tracking reason for the process timeout 25c1468314 cmCTestTestHandler: Remove outdated comment 41e8507ab7 IWYU: Add mapping for bits/chrono.h to chrono Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8472
| * | ctest: Optionally terminate tests with a custom signal on timeoutBrad King2023-06-0222-1/+241
| | | | | | | | | | | | | | | | | | | | | | | | CTest normally terminates test processes on timeout using `SIGKILL`. Offer tests a chance to exit gracefully, on platforms supporting POSIX signals, by setting `TIMEOUT_SIGNAL_{NAME,GRACE_PERIOD}` properties. Fixes: #17288
* | | cxxmodules: remove `CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP` variableBen Boeckel2023-06-0139-165/+13
| |/ |/| | | | | It is now subsumed by the UUID setting completely.
* | Merge topic 'automoc-moc-options-test'Brad King2023-06-015-0/+38
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1f4b374d6e cmQtAutoGenInitializer: Reduce string copies b6f66b445a cmQtAutoGenInitializer: Remove no-op calls 55d93bdabf cmQtAutoGenInitializer: Improve const correctness feb56a666f cmTarget: Improve const correctness of AddUtility 5e513e562f Help: Add AUTOMOC_MOC_OPTIONS example 5380ad9d58 Tests: Add test for AUTOMOC_MOC_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8523
| * | Tests: Add test for AUTOMOC_MOC_OPTIONSOrkun Tokdemir2023-05-315-0/+38
| |/ | | | | | | Fixes: #23894
* | Merge topic 'cmuvprocesschain-finished'Kyle Edwards2023-06-011-0/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | 22e5775cde cmUVProcessChain: Add Finished() method Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8526
| * | cmUVProcessChain: Add Finished() methodKyle Edwards2023-05-311-0/+12
| |/
* | Merge topic 'remove-header-unit-fileset-type'Brad King2023-06-0126-139/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7b62a83c6f cxxmodules: update the experimental UUID 6ff5cdc533 cxxmodules: remove support for `CXX_MODULE_HEADER_UNITS` filesets Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8510
| * | cxxmodules: update the experimental UUIDBen Boeckel2023-05-3110-10/+10
| | | | | | | | | | | | | | | Syntactic support for C++ header units has been removed, so a new UUID is warranted.
| * | cxxmodules: remove support for `CXX_MODULE_HEADER_UNITS` filesetsBen Boeckel2023-05-3116-129/+5
| |/ | | | | | | | | There's no backing implementation for header units anyways, so just remove it for now.
* | Merge topic 'cuda-ipo-arch'Brad King2023-06-011-2/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | 45584508fa CUDA/NVIDIA: fix LTO with explicit architectures Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !8508
| * | CUDA/NVIDIA: fix LTO with explicit architecturesRafael Stahl2023-05-311-2/+9
| | |
* | | Merge topic 'cmake-compile-no-warning-as-error'Brad King2023-06-011-0/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | da27ff1e96 Preserve --compile-no-warning-as-error in automatic CMake re-runs e0b48284a1 Xcode: Internally uses -S instead of -H to specify source directory Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8522
| * | Preserve --compile-no-warning-as-error in automatic CMake re-runsBrad King2023-05-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | When the build system re-runs `cmake` to regenerate itself, preserve the `--compile-no-warning-as-error` option if it was used when `cmake` was last explicitly invoked. Normally such settings are preserved in the cache, but the purpose of this option is to be beyond the reach of project code.