summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10Luthaf2020-10-061-0/+7
| | | | | | | | | The warning emmitted by GCC for invalid options have been updated to read "command-line option XXX is valid ..." instead of "command line option XXX is valid ...". Update the regex to make it valid with both the old and new warning message. Fixes: #21275
* Merge topic 'add_checkcompilerflag_tests'Brad King2020-10-0614-0/+102
|\ | | | | | | | | | | | | 8ac9719659 CheckCompilerFlag: Add tests to verify module correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5328
| * CheckCompilerFlag: Add tests to verify module correctnessRobert Maynard2020-10-0614-0/+102
| |
* | Merge topic 'ci-find-modules'Brad King2020-10-063-5/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0792fe4759 ci: enable IPO tests on Debian 10 and Fedora 31 builds c582e51909 ci: enable Fortran submodule tests on Debian 10 and Fedora 31 builds 12b56269d4 ci: enable Qt5 tests on Debian 10 and Fedora 31 builds 02e8befb74 gitlab-ci: add job to run test suite on Debian 10 with ninja 2bb2a283e9 ci: add packages for many find modules to the Debian 10 image 03fb06b8e7 ci: enable many find module tests for the Fedora 31 Makefiles build b23f36bba6 ci: add packages for many find modules to the Fedora 31 image 20f7d51b7b Tests: Revise FindBLAS test to avoid cblas_ mangling ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5322
| * | Tests: Revise FindBLAS test to avoid cblas_ manglingBrad King2020-10-051-3/+5
| | |
| * | Tests: Improve FindRuby test robustnessBrad King2020-10-052-2/+2
| |/
* | Merge topic 'csharp-source_group-bugfix'Brad King2020-10-063-5/+12
|\ \ | |/ |/| | | | | | | | | 8d87cfdbf3 VS: Fix regression in C# source links Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5314
| * VS: Fix regression in C# source linksKinan Mahdi2020-10-053-5/+12
| | | | | | | | | | | | Fix logic used since commit ac6b18cd90 (CSharp: Add support for source groups with out-of-source builds, 2020-02-18, v3.18.0-rc1~645^2). Add a check of the physical file location for C# source groups.
* | Merge topic 'xcode-refactor-framework-linking'Craig Scott2020-10-045-11/+58
|\ \ | | | | | | | | | | | | | | | | | | ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5216
| * | Xcode: Don't add framework as -framework argument in linker info listGusts Kaksis2020-10-025-11/+58
| | |
* | | Merge topic 'FetchContent_missing_SOURCE_DIR'Craig Scott2020-10-045-0/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b030a6af88 FetchContent: Raise error if manually given source dir does not exist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5317
| * | | FetchContent: Raise error if manually given source dir does not existCraig Scott2020-10-035-0/+26
| |/ / | | | | | | Fixes: #21208
* | | FindSWIG: Fix syntax errorMarc Chevrier2020-10-023-0/+25
| | | | | | | | | | | | | | | | | | Add some tests to cover all cases regarding version handling Fixes: #21264
* | | Merge topic 'UseSWIG-output-source-file-properties'Brad King2020-10-029-1/+166
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4a81a0ce3d UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5303
| * | | UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file propertiesMarc Chevrier2020-09-309-1/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These properties enable to manage output directories on per source file basis. Fixes: #21250
* | | | Merge topic 'execute_process-fatal-error'Brad King2020-10-0210-0/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 116a427eb1 execute_process: add options for fatal errors on subprocess failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5243
| * | | | execute_process: add options for fatal errors on subprocess failureAsit Dhal2020-10-0110-0/+32
| |/ / / | | | | | | | | | | | | Fixes: #19930
* | | | Merge topic 'FindPython-tests-optimizations'Marc Chevrier2020-10-0221-82/+82
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 5537ccd814 FindPython: Tests optimizations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5307
| * | | FindPython: Tests optimizationsMarc Chevrier2020-10-0121-82/+82
| | | | | | | | | | | | | | | | | | | | * Use 'project(... LANGUAGES NONE)' when possible * enhance error messages wording
* | | | Merge topic 'FindSWIG-version-range'Craig Scott2020-10-022-0/+31
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 1d300ee2a9 FindSWIG: Add version range support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5306
| * | | FindSWIG: Add version range supportMarc Chevrier2020-10-012-0/+31
| |/ /
* | | Merge topic 'macos-arm64'Brad King2020-10-012-1/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6c60f14b6 macOS: Default to arm64 architecture on Apple Silicon hosts 383e81aa60 Tests: Teach RunCMake to ignore Xcode internal objc warnings 8f75912176 Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5291
| * | | macOS: Default to arm64 architecture on Apple Silicon hostsBrad King2020-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detect `arm64` hardware using a method that pierces Rosetta. If `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use `arm64` instead of letting the toolchain pick. Fixes: #20989
| * | | Tests: Teach RunCMake to ignore Xcode internal objc warningsBrad King2020-09-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode on Apple Silicon warns: objc[...]: Class AMSupportURL... is implemented in both ... One of the two will be used. Which one is undefined. Teach RunCMake to drop such lines before matching against expected output.
| * | | Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one valueBrad King2020-09-291-1/+4
| | | |
* | | | Merge topic 'genexpr-for-mfc-flag'Brad King2020-10-011-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1f1eaf7a4 VS: Teach CMAKE_MFC_FLAG to support generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5283
| * | | | VS: Teach CMAKE_MFC_FLAG to support generator expressionsAndrey Starodubtsev2020-09-301-0/+3
| | | | |
* | | | | Merge topic 'msvc_implib'Brad King2020-10-013-0/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bda9a7fc7 VS: Make ImportLibary generation optional Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5282
| * | | | | VS: Make ImportLibary generation optionalMark Jansen2020-09-303-0/+27
| | |_|/ / | |/| | | | | | | | | | | | | Fixes: #21180
* | | | | Merge topic 'FindPython-version_range'Craig Scott2020-10-012-0/+159
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | e4b7049230 FindPython: Add version range support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5265
| * | | | FindPython: Add version range supportMarc Chevrier2020-09-302-0/+159
| | | | | | | | | | | | | | | | | | | | Fixes: #21107
* | | | | Merge topic 'cmake_language-DEFER'Brad King2020-09-30136-24/+440
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8b0359a43 cmake_language: Add signature to DEFER calls to later times 9880549405 cmake_language: Make all errors fatal 4f33f3dcff cmake_language(CALL): Accept empty ${var} expansions 4ebe9c4ce1 cmake_language(EVAL): Factor out internal helper 78ff24a3a7 Help: Use singular placeholder name in cmake_language signature edd60d4419 Tests: Simplify RunCMake.cmake_language invalid command cases 1a5bf8245e cmMakefile: Clarify name of internal list file run method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5262
| * | | | cmake_language: Add signature to DEFER calls to later timesBrad King2020-09-29126-1/+418
| | | | | | | | | | | | | | | | | | | | Fixes: #19575
| * | | | cmake_language(CALL): Accept empty ${var} expansionsBrad King2020-09-296-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Factor out an internal helper. Generalize partial argument expansion and call the helper on a clean boundary between raw arguments.
| * | | | Tests: Simplify RunCMake.cmake_language invalid command casesBrad King2020-09-295-17/+16
| | | | |
* | | | | Merge topic 'find-package-check-empty-version-range'Craig Scott2020-09-3015-28/+80
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 212b0afb66 find_package: raise error on empty version range Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5294
| * | | | | find_package: raise error on empty version rangeMarc Chevrier2020-09-2915-28/+80
| |/ / / /
* | | | | Merge topic 'vs-mixed-lang-std'Brad King2020-09-303-0/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b325484928 VS: Fix C language standard in target with C++ sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5295
| * | | | | VS: Fix C language standard in target with C++ sourcesBrad King2020-09-293-0/+32
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Add C-language standard to target-wide C++ settings. Fixes: #21195
* | | | | Merge topic 'cxx-as-objcxx'Brad King2020-09-303-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a2977ba55 OBJCXX: Fix regression for compiling cpp files as objcxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5296
| * | | | | OBJCXX: Fix regression for compiling cpp files as objcxxCristian Adam2020-09-293-0/+12
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 8d61294c3e (PCH: Mark CMake PCH source files as -x <lang>-header, 2020-09-04, v3.18.3~14^2) we removed the explicit `-x objective-c++` flag. This broke cases with custom source extensions. Restore the explicit `-x objective-c[++]` flag and put it before the `<FLAGS>` placeholder. The latter will contain the proper `-x objective-c[++]-header` value and will override the `-x objective-c[++]` value set before. Fixes: #21234
| * | | | Merge topic 'foreach-int-parse-range-check' into release-3.18Brad King2020-09-214-0/+9
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0412b55b83 foreach: Fix crash parsing integer out of range Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5239
* | \ \ \ \ Merge topic 'cmake-gui-environment'Kyle Edwards2020-09-2913-2/+459
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85f5009d27 CMake GUI: Add environment editor d6c051c126 Tests: Add some basic configure tests for the CMake GUI 7cd95d9996 Tests: Add CatchShow helper for CMake GUI tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5270
| * | | | | CMake GUI: Add environment editorKyle Edwards2020-09-287-0/+218
| | | | | |
| * | | | | Tests: Add some basic configure tests for the CMake GUIKyle Edwards2020-09-286-0/+92
| | | | | |
| * | | | | Tests: Add CatchShow helper for CMake GUI testsKyle Edwards2020-09-285-2/+149
| | |_|_|/ | |/| | |
* | | | | Merge topic 'ctest_launch_report_make_errors'Brad King2020-09-296-2/+30
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a8b7dd061b ctest: improve Unicode support for launchers ab9ad2a6a0 ctest: report make-level errors to CDash when using launchers 56e4e942d2 ctest: split launcher XML writer into separate class Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !5266
| * | | | | ctest: report make-level errors to CDash when using launchersZack Galbreath2020-09-286-2/+30
| |/ / / / | | | | | | | | | | | | | | | Fixes: #19545
* | | | | Merge topic 'system_include_dir_caching_pre_lang'Brad King2020-09-295-0/+45
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | b6418155f3 cmGeneratorTarget: Include Cache now occurs per language+config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5274
| * | | | cmGeneratorTarget: Include Cache now occurs per language+configRobert Maynard2020-09-255-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | Previously only occurred per config which broke per-language system includes.