summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Tests: set CMAKE_PREFIX_PATH to the installation prefixBen Boeckel2021-03-191-1/+1
| | | | As it is documented to be.
* FindDevIL: add imported targets and testsAlex2021-03-181-0/+1
| | | | Fixes: #21900
* Tests: Enable Framework test case with spaces everywhere possibleBrad King2021-03-101-0/+1
|
* Tests: Update LibName to cover spaces in shared library nameBrad King2021-03-081-0/+2
|
* Tests: Enable MAKE_SUPPORTS_SPACES tests with Ninja generatorsBrad King2021-03-081-1/+1
|
* Merge topic 'test-macos-arm64'Brad King2021-02-231-1/+1
|\ | | | | | | | | | | | | | | | | | | 1c15eb39d2 Tests: Suppress failures on macOS arm64 due to separate Xcode signing phase 92418ac0ef Tests: Fix CTestTestCrash expected output on macOS arm64 8b22d9b3c3 Tests: Remove explicit no-signing marks from BundleTest 483db3de56 Tests: Clarify internal project name in RunCMake.GoogleTest cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5846
| * Tests: Fix CTestTestCrash expected output on macOS arm64Brad King2021-02-221-1/+1
| |
* | Tests: Fake home directory even if not setRaul Tambre2021-02-151-2/+2
|/ | | | | | | | In some cases ENV{HOME} might not be set, e.g. when run through a systemd service without User set. We should still to fake HOME in such cases as some tests (e.g. FindPackageTest) rely on it. We need only avoid setting ENV{CTEST_REAL_HOME} in such cases. Its possible absence seems to already be handled by tests.
* Tests: Disable MFC test for IntelLLVM due to #18311William R. Dieter2021-01-281-1/+8
| | | | | | | | | clang-cl cannot deal with implicit dependencies in UTF16 files (see #18311). IntelLLVM inherits this behavior from Clang. The MFC test uses `rc` in the way described in #18311 and gets the same error described in #18311. Disable the test until #18311 is fixed. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* Tests: Skip VSGNUFortran test for ifx.William R. Dieter2021-01-281-0/+4
| | | | DLLEXPORT is not implemented in ifx yet, and required by this test.
* Tests: Skip old PrecompiledHeader test on IntelLLVMBrad King2021-01-281-1/+1
| | | | | This test uses hard-coded flags for a fixed set of compilers. We have first-class PCH support implemented for IntelLLVM.
* CPackDeb: dpkg-shlibdeps now supports searching for private shared libsDeniz Bahadir2021-01-221-0/+20
| | | | | | | | | The new CPack variable `CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS` can be set to a list of directories. If `CPACK_DEBIAN_PACKAGE_SHLIBDEPS` or `CPACK_DEBIAN_<component>_PACKAGE_SHLIBDEPS` are set to `ON` these directories will be searched by `dpkg-shlibdeps` in order to find private shared library dependencies of the libraries/executables that shall be packed.
* Tests: Remove outdated CMakeTestMultipleConfigures testBrad King2021-01-151-15/+0
| | | | | | | | In practice this test has not helped us find any problems AFAIK. Tests like RunCMake.BuildDepends and other RunCMake tests cover much of what this test was meant to do. Since CMakeTestMultipleConfigures takes a long time to run on some generator/platform combinations, it is not worth what it covers. Remove the test.
* UseJava: enable exportation of native headers targetMarc Chevrier2020-12-291-0/+3
|
* Merge topic 'apple-silicon-host-arch'Brad King2020-12-111-0/+16
|\ | | | | | | | | | | | | | | b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589
| * Tests: Cover macOS host architecture selection on Apple Silicon hostsBrad King2020-12-101-0/+16
| | | | | | | | | | | | | | | | | | | | Add test cases verifying that `CMAKE_APPLE_SILICON_PROCESSOR` set as either a cache or environment variable causes that to be selected as the host architecture. Also verify that sources compile using whatever is selected as the host architecture, even when the explicit setting is not used. Issue: #21554
* | Merge topic 'test-macos-version'Brad King2020-12-101-17/+17
|\ \ | |/ | | | | | | | | | | | | | | 55193c8013 ci: Hard-code XCTest deployment target to 10.15 40877903ac Tests: Remove outdated exclusion of tests on OS X 10.3 c404d7f221 Tests: Add cache entry to control XCTest deployment target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5593
| * Tests: Remove outdated exclusion of tests on OS X 10.3Brad King2020-12-091-12/+1
| |
| * Tests: Add cache entry to control XCTest deployment targetBrad King2020-12-091-5/+16
| |
* | Merge topic 'test-vs-windows-hosts'Brad King2020-12-041-1/+1
|\ \ | |/ | | | | | | | | | | dca8800cb5 Tests: Look for Visual Studio only on Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5569
| * Tests: Look for Visual Studio only on Windows hostsBrad King2020-12-031-1/+1
| | | | | | | | | | | | | | | | | | Update logic added by commit 6051a49c78 (Visual Studio: Add Android support, 2020-06-12, v3.19.0-rc1~619^2) to only look for VS installations using `cmake_host_system_information` on Windows hosts. Otherwise the `VS_*_DIR` keys are not available. Fixes: #21547
* | Merge topic 'test-java-default'Brad King2020-11-251-3/+11
|\ \ | |/ | | | | | | | | | | 1af2d1d0ea Tests: Add CMake_TEST_Java option to control Java tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5532
| * Tests: Add CMake_TEST_Java option to control Java testsBrad King2020-11-241-3/+11
| |
* | server: remove deprecated 'cmake -E server' modeBrad King2020-10-141-9/+0
| | | | | | | | | | | | The server mode has been deprecated since commit 996e1885c4 (server: deprecate in favor of the file-api, 2019-04-19, v3.15.0-rc1~198^2). Clients should now be using the file-api. Remove the server mode.
* | FindIntl: Add imported targetSibi Siddharthan2020-10-131-0/+1
|/ | | | | Fixes: #21271 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* Tests: Add some basic tests for CMake GUIKyle Edwards2020-09-231-0/+4
|
* Utilities/Release: Drop now-unused scriptsBrad King2020-09-171-17/+0
| | | | | | | | | | | | | | Since these commits: * commit ab2276e6b9 (Utilities/Release: remove old macOS release script, 2020-09-16) * commit 7670ba8b0a (Utilities/Release: Drop win{32,64} scripts in favor of docker build, 2020-05-05, v3.18.0-rc1~203^2) * commit 689fdbfc61 (Utilities/Release: Drop linux64 script in favor of docker build, 2019-08-27, v3.16.0-rc1~184^2) several scripts we once used for producing release binaries for distribution on `cmake.org` are no longer needed.
* Utilities/Release: remove old macOS release scriptBen Boeckel2020-09-161-4/+0
| | | | macOS releases are now made by GitLab-CI.
* Help: Add Importing and Exporting GuideBetsy McPhail2020-09-111-1/+39
|
* Merge topic 'ispc_lang_support'Brad King2020-09-011-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | 5ece12b7e4 gitlab-ci: add ISPC to the Fedora CI image 8976817d6d ISPC: Update help documentation to include ISPC 2368f46ba4 ISPC: Support building with the MSVC toolchain e783bf8aa6 ISPC: Support ISPC header generation byproducts and parallel builds 34cc6acc81 Add ISPC compiler support to CMake 419d70d490 Refactor some swift only logic to be re-used by other languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5065
| * Add ISPC compiler support to CMakeRobert Maynard2020-08-281-0/+4
| |
* | WIN32_EXECUTABLE: Add support for generator expressionsKyle Edwards2020-08-211-0/+4
| |
* | Bootstrap: Add support for NinjaKyle Edwards2020-08-101-0/+1
|/
* CTest: Prefer normative terms to express subprocess failuresRobert Maynard2020-07-271-1/+1
| | | | Issue: #21004
* cmake: Remove broken '--warn-unused-vars' optionBrad King2020-06-291-30/+0
| | | | | | | | | | | | | This option has been broken since commit b9f9915516 (cmMakefile: Remove VarUsageStack., 2015-05-17, v3.3.0-rc1~52^2). That commit removed the check that an initialized variable has actually been used and caused the option to warn on every variable ever set. This was not caught by the test suite because the test for the feature only checked that warnings appear when needed and not that they do not appear when not needed. The option was never very practical to use. Remove it to avoid the runtime cost of usage tracking and checks for every variable (which we were doing even when the option was not used).
* Merge topic 'visual-studio-android'Brad King2020-06-261-16/+45
|\ | | | | | | | | | | | | | | | | | | 6051a49c78 Visual Studio: Add Android support bbcaf9689e Refactor: Add IsAndroidGuiExecutable() method to cmTarget 14456923bd cmGlobalVisualStudio10Generator: Move variable initialization to header d5b5c19278 cmGlobalGenerator: FindMakeProgram() before CMakeDetermineSystem Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4898
| * Visual Studio: Add Android supportKyle Edwards2020-06-241-16/+45
| |
* | Merge topic 'test-all-find-modules'Brad King2020-06-231-1/+0
|\ \ | | | | | | | | | | | | | | | | | | 6c6b227813 Tests: Drop redundant FindModulesExecuteAll test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4930
| * | Tests: Drop redundant FindModulesExecuteAll testBrad King2020-06-231-1/+0
| |/ | | | | | | | | This test has been superseded by `CMakeOnly.AllFindModules`, which does much more checking anyway.
* | Merge topic 'FindSDL-update'Brad King2020-06-191-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 9ffd2c70bf FindSDL: Add SDL_INCLUDE_DIRS, SDL_LIBRARIES, and SDL::SDL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4902
| * | FindSDL: Add SDL_INCLUDE_DIRS, SDL_LIBRARIES, and SDL::SDLFrédéric Simonis2020-06-181-0/+1
| |/ | | | | | | | | | | Also provide `SDL_VERSION[_{MAJOR,MINOR,PATCH}]`. Fixes: #12911
* | Tests: Simplify addition of extra generator testsBrad King2020-06-181-32/+22
|/ | | | | | Do not try to run the `cmake` binary that has not been built yet. Always add the extra generator tests in combination with the corresponding Makefile and Ninja generators.
* Tests: add CUDA labels to tests which are affected by CUDABen Boeckel2020-06-111-0/+4
|
* Tests/CPackWiXGenerator: support suppressing verificationBen Boeckel2020-05-221-0/+1
| | | | | Verification requires access to an active Windows session which may not be the case in all testing environments.
* Utilities/Release: Drop win{32,64} scripts in favor of docker buildBrad King2020-05-051-5/+0
| | | | | | | Also drop the `CMakeNightlyWin{32,64}` tests that use the scripts. Follow the pattern from commit 689fdbfc61 (Utilities/Release: Drop linux64 script in favor of docker build, 2019-08-27, v3.16.0-rc1~184^2).
* FindPython: Add support for 'PyPy'Marc Chevrier2020-05-011-1/+1
|
* Merge topic 'CTestCoverageCollectGCOV-compress-opts'Brad King2020-05-011-3/+0
|\ | | | | | | | | | | | | | | | | 40ca6ef125 CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option 81e83510a0 Tests: Fix re-running CTestCoverageCollectGCOV on in-source build ab7eda2591 Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOV Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4649
| * Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOVBrad King2020-04-291-3/+0
| | | | | | | | | | The test script uses `message(FATAL_ERROR)` on failure, so we can just let the `ctest` exit code determine the result.
* | Merge topic 'FindLibXslt-targets'Brad King2020-04-291-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8a90ef5a44 FindLibXslt: use LIBXSLT_LIBRARY as cache variable 1aa7df4114 FindLibXslt: provide imported targets dd506714f4 FindLibXslt: identify libexslt include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4650
| * | FindLibXslt: provide imported targetsMarkus Rickert2020-04-281-0/+1
| |/