summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ctest_submit_get_buildid'Brad King2019-03-251-1/+1
|\ | | | | | | | | | | | | | | ba7e44eb7a ctest_submit: Add option BUILD_ID Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3120
| * ctest_submit: Add option BUILD_IDZack Galbreath2019-03-221-1/+1
| | | | | | | | Fixes: #18968
* | Merge topic 'pkg-get-variable-prefix-path'Brad King2019-03-254-0/+56
|\ \ | |/ |/| | | | | | | | | | | | | f401a57160 pkg_get_variable now sets PKG_CONFIG_PATH like pkg_check_modules 4d76941924 FindPkgConfig: hoist PKG_CONFIG_PATH ops out into _pkg_set_path_internal 78f23de70c More tests for pkg_get_variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3131
| * pkg_get_variable now sets PKG_CONFIG_PATH like pkg_check_modulesDan Kegel2019-03-201-2/+1
| | | | | | | | Fixes: #15805
| * More tests for pkg_get_variableDan Kegel2019-03-204-0/+57
| | | | | | | | Issue: #15805
* | Merge topic 'ghs-linux'Brad King2019-03-222-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c43fb5be3 FindThreads: Fix pthread library check in GHS Multi Generator 0404efe786 GHS: Add support for GHS Multi Generator in Linux 2060a1445c Tests: Fix file name case in GHS object library test ddad70c8a4 Tests: Run GHS tests in a separate ctest process f7dca1fc97 GHS: Fix include-what-you-use and clang-tidy diagnostics Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3006
| * | Tests: Fix file name case in GHS object library testNaren Manimohan2019-03-211-1/+1
| | |
| * | Tests: Run GHS tests in a separate ctest processBrad King2019-03-211-0/+1
| | | | | | | | | | | | | | | These tests use a different compiler than the rest of the test suite. Isolate the rest of our tests from their environment.
* | | Merge topic 'xcodescheme2'Brad King2019-03-222-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 413b71485a Xcode: Create Xcode schemes per target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3098
| * | | Xcode: Create Xcode schemes per targetHarry Mallon2019-03-212-0/+12
| | | |
* | | | Merge topic 'tar-improve-error-handling'Kyle Edwards2019-03-216-19/+24
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea9a2c1759 cmake: tar: Parse 'cmake -E tar' arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3081
| * | | | cmake: tar: Parse 'cmake -E tar' argumentsBartosz Kosiorek2019-03-206-19/+24
| | |_|/ | |/| |
* | | | testRange: Make sure tests can actually failRegina Pfeifer2019-03-201-1/+1
|/ / /
* | | Merge topic 'cmake--install'Kyle Edwards2019-03-198-0/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73f23d1e00 cmake: add '--install <dir>' option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Bartosz <gang65@poczta.onet.pl> Acked-by: Cristian Adam <cristian.adam@gmail.com> Rejected-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !3069
| * | | cmake: add '--install <dir>' optionJiang Yi2019-03-168-0/+32
| | | | | | | | | | | | | | | | Fixes: #19023
* | | | Merge topic 'improve-tar-command'Kyle Edwards2019-03-199-7/+14
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 8634576dcb cmake: Don't interrupt archive creation if unable to read a file. c7c6a4a2cc Help: Update 'tar' documentation with supported arguments 7c47fd8cd1 cmake: tar: Display warning when no files provided during archive creation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3080
| * | | cmake: Don't interrupt archive creation if unable to read a file.Bartosz Kosiorek2019-03-187-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale: Currently during creation of archive by 'tar', if error appears, it interrupt archive creation. As a result only part of files are archived This behaviour is not consistent with 'copy_directory', native 'tar' and other command behaviour. With this Merge Request this behaviour is fixed.
| * | | cmake: tar: Display warning when no files provided during archive creationBartosz Kosiorek2019-03-183-4/+7
| | | |
* | | | Merge topic 'is-valid-utf8'Brad King2019-03-191-0/+78
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53184a727d cm_utf8: add an is_valid function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3104
| * | | | cm_utf8: add an is_valid functionBen Boeckel2019-03-181-0/+78
| | | | |
* | | | | Merge topic 'environment-modules'Brad King2019-03-193-0/+42
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | dfea916d3c FindEnvModules: Provide a CMake interface to environment modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3076
| * | | | FindEnvModules: Provide a CMake interface to environment modulesChuck Atkins2019-03-183-0/+42
| | | | |
* | | | | Merge topic 'utf8-fixes'Brad King2019-03-181-7/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb5de060bc cm_utf8: reject codepoints above 0x10FFFF a11e5e021b cm_utf8: reject UTF-16 surrogate half codepoints 7111873efd testUTF8: add more test cases bba2b1c89b testUTF8: comment why sequences are invalid Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3097
| * | | | | cm_utf8: reject codepoints above 0x10FFFFBen Boeckel2019-03-141-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are invalid because the Unicode standard says so (because UTF-16 as specified today cannot encode them).
| * | | | | cm_utf8: reject UTF-16 surrogate half codepointsBen Boeckel2019-03-141-2/+2
| | | | | |
| * | | | | testUTF8: add more test casesBen Boeckel2019-03-141-6/+16
| | | | | |
| * | | | | testUTF8: comment why sequences are invalidBen Boeckel2019-03-141-2/+6
| |/ / / /
* | | | | Merge topic 'FindGLEW-updates'Brad King2019-03-184-0/+40
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | a77a30e657 FindGLEW: Add test a7d853868b FindGLEW: Update implementation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3094
| * | | | FindGLEW: Add testClaudio Fantacci2019-03-154-0/+40
| | | | |
* | | | | Merge topic 'pkg-config-linker-flags'Marc Chevrier2019-03-161-0/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b759fa9b8e FindPkgConfig: Set linker flags on imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3082
| * | | | | FindPkgConfig: Set linker flags on imported targetsRadek Nadstawny2019-03-131-0/+21
| | |_|/ / | |/| | |
* | | | | Merge topic 'export-package-default-off'Brad King2019-03-151-0/+20
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9bede5c4ce export: Disable PACKAGE mode user package registry by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Mosimann <lumosimann@gmail.com> Merge-request: !3041
| * | | | export: Disable PACKAGE mode user package registry by defaultRobert Maynard2019-03-151-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user package registry populated by the `export()` command causes side effects outside the build and source directories. Such effects should be opt-in rather than op-out. Introduce a policy to change default behavior of `export(PACKAGE)` to do nothing.
* | | | | Tests: Run FindGTK2 tests only when explicitly enabledBrad King2019-03-142-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not `find_package(GTK2)` by default, as it gives the impression that CMake depends on it to build. We will set `CMake_TEST_FindGTK2` in the cache of automated builds where GTK2 is expected to work.
* | | | | Merge topic 'short-commands'Brad King2019-03-141-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 077ab5774c cmake: add short version of '--target <tgt>...' option 071f5e1544 cmake: Reformat '--parallel' and '--verbose' options in help Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3078
| * | | | cmake: add short version of '--target <tgt>...' optionBartosz Kosiorek2019-03-121-1/+1
| | |_|/ | |/| |
* | | | Merge topic 'cuda_compiler_generator_expressions'Brad King2019-03-132-0/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b53766b205 CUDA: Support compiler id and version generator expressions b544e34af6 All VersionNode use the same capitalization pattern Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3085
| * | | | CUDA: Support compiler id and version generator expressionsRobert Maynard2019-03-112-0/+10
| | |_|/ | |/| | | | | | | | | | | | | | Introduce the CUDA_COMPILER_ID and CUDA_COMPILER_VERSION generator expressions.
* | | | Merge topic 'shell_path'Brad King2019-03-124-8/+48
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 463c2fba4e Genex: Teach SHELL_PATH to support a list of paths 21da25d2a8 Tests: Generalize GeneratorExpression MSYS path conversion workaround Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3057
| * | | Genex: Teach SHELL_PATH to support a list of pathsHenri Manson2019-03-114-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the genex added by commit ca6ba3fee5 (Genex: Add a SHELL_PATH expression, 2015-09-24, v3.4.0-rc1~37^2) to accept a `;`-list of paths, convert them all, and generate a list separated by the native shell `PATH``` separator.
| * | | Tests: Generalize GeneratorExpression MSYS path conversion workaroundBrad King2019-03-112-8/+24
| | | | | | | | | | | | | | | | | | | | Use MSYS2's `MSYS2_ARG_CONV_EXCL` environment variable to prevent path conversion where possible.
* | | | Merge topic 'install-no-imported-global'Brad King2019-03-084-0/+9
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 47389c5641 install: Do not crash on imported global target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3071
| * | | install: Do not crash on imported global targetBrad King2019-03-074-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit e89ad0f94e (install: Allow installing targets created in another directory, 2018-06-18, v3.13.0-rc1~407^2) the `install(TARGETS)` command may find a global-scoped target outside the calling directory. Ignore an `IMPORTED GLOBAL` target if it is found in this way. Imported targets cannot be installed, and trying to do so violates internal invariants. Fixes: #19022
* | | | Merge topic 'issue-18883-support-for-multiple-targets'Brad King2019-03-067-3/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 324d18bb34 cmake: Teach --build mode to support multiple targets ebc94500c1 cmGlobalGenerator: Optimize Printable() method from GeneratedMakeCommand fdeb364a84 cmGlobalGenerator: Change case of methods from GeneratedMakeCommand struct b3955a08ab cmakemain: Remove ignored --use-stderr option from command line help f1367c8c51 cmGlobalGenerator: Remove unused code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2939
| * | | | cmake: Teach --build mode to support multiple targetsBartosz Kosiorek2019-03-057-3/+12
| | |/ / | |/| | | | | | | | | | Fixes: #16136
* | | | Merge topic 'ios-variable'Brad King2019-03-061-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e427c7c1d8 iOS: Add IOS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3051
| * | | | iOS: Add IOS variableRuslan Baratov2019-03-051-0/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Since commit 11da882a12 (Apple: Introduce separate system name for iOS, tvOS, and watchOS, 2018-01-15, v3.14.0-rc1~14^2~1) we support setting `CMAKE_SYSTEM_NAME` to `iOS`. Existing iOS toolchain files already set `IOS` as a short-hand variable, so do the same here.
* | | | Merge topic 'FindPython-NumPy-fix-include-dir'Brad King2019-03-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e3358336d FindPython: Fix NumPy component include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3053
| * | | | FindPython: Fix NumPy component include directoryMarc Chevrier2019-03-041-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Update the component added by commit 513e77550d (FindPython: Introduce NumPy component, 2018-12-12, v3.14.0-rc1~95^2). The `numpy/` sub-directory should not be part of the include directory. It should be part of the `#include` line.
* | | | Merge topic 'vs-fortran-rc'Brad King2019-03-042-1/+7
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 0b82f56ac6 VS: Fix Fortran target type selection with RC sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3050