summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* VS: Add target property VS_DEBUGGER_COMMANDHannes Mezger2018-03-143-0/+28
| | | | Fixes: #17819
* Merge topic 'libxml2-target'Brad King2018-03-094-0/+49
|\ | | | | | | | | | | | | 9ef3abd3f3 FindLibXml2: provide imported target LibXml2::LibXml2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1823
| * FindLibXml2: provide imported target LibXml2::LibXml2Rolf Eike Beer2018-03-084-0/+49
| |
* | Merge topic 'cmWorkingDirectory_success_checking'Brad King2018-03-0913-0/+59
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5901699672 cmDepends: Remove attempt to change directory that always fails e60e4dfc88 cmWorkingDirectory: Check success of current dir changes e654622aee Tests: Add --build-and-test test case a865f0beb2 Tests: Confirm test working dir set successfully Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1817
| * | cmWorkingDirectory: Check success of current dir changesCraig Scott2018-03-082-0/+2
| | |
| * | Tests: Add --build-and-test test caseCraig Scott2018-03-044-0/+17
| | | | | | | | | | | | | | | Checks that giving an invalid build directory to ctest --build-and-test will fail.
| * | Tests: Confirm test working dir set successfullyCraig Scott2018-03-048-0/+40
| | | | | | | | | | | | | | | Specifically, this tests that setting WORKING_DIRECTORY to an invalid directory results in the test failing.
* | | Merge topic 'sort_glob_output'Brad King2018-03-093-0/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87a6816baf Add test for sorting and deduping of file(GLOB) result b688d4fd22 file(GLOB): Ensure entire file list is sorted Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1821
| * | | Add test for sorting and deduping of file(GLOB) resultShane Parris2018-03-073-0/+24
| | | |
* | | | Merge topic 'project-warn-missing-metadata-values'Craig Scott2018-03-089-1/+17
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 587bad7ba2 project: warn on metadata arguments missing values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1815
| * | | project: warn on metadata arguments missing valuesAlex Turbov2018-03-079-1/+17
| | |/ | |/| | | | | | | Warn if `DESCRIPTION` or `VERSION` is given without a following value.
* | | Merge topic 'curl-target'Brad King2018-03-084-0/+47
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ee06f3c339 FindCURL: Revise documentation markup 83c0cb3f03 FindCURL: provide imported target CURL::CURL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1822
| * | | FindCURL: provide imported target CURL::CURLRolf Eike Beer2018-03-064-0/+47
| | |/ | |/|
* | | Merge topic 'avoid-LIB_DEPENDS'Brad King2018-03-085-0/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7723e9a058 Do not produce legacy _LIB_DEPENDS cache entries 2124a1364a cmTarget: Remove unnecessary RecordDependencies member 1c5bfab532 cmTarget: Simplify ClearDependencyInformation implementation 910a9d608e cmTarget: Simplify ClearDependencyInformation signature Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1828
| * | | Do not produce legacy _LIB_DEPENDS cache entriesBrad King2018-03-075-0/+24
| |/ / | | | | | | | | | | | | | | | Introduce policy `CMP0073` to avoid producing these cache entries. Fixes: #16364
* | | CTest: Add options to control test process affinity to CPUsBrad King2018-03-055-0/+45
|/ / | | | | | | | | | | | | | | | | | | In commit v2.8.0~170 (ENH: Added ctest test options PROCESSORS and RUN_SERIAL, 2009-09-07) CTest learned to track the number of processors allocated to running tests in order to balance it against the desired level of parallelism. Extend this idea by introducing a new `PROCESSOR_AFFINITY` test property to ask that CTest run a test with the CPU affinity mask set. This will allow a set of tests that are running concurrently to use disjoint CPU resources.
* | Merge topic 'general_cleanup_enhance'Brad King2018-03-0515-2/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a21d820d3 Remove c_str() from calls to converttorelativeformake in XCode Generator f93cc4158e Refactor cmCacheManager::LoadCache to use ostringstream 915b71010c Enhance RunCMake test coverage for file(GLOB) fcaa134c6c Refactor HandleGlobCommand cf5d0b49e8 Adjust class description in cmFileTimeComparison.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1810
| * | Enhance RunCMake test coverage for file(GLOB)Shane Parris2018-02-2815-2/+35
| | |
* | | Tests: Add cases for usage requirements of linked object libsBrad King2018-03-0113-19/+107
| | | | | | | | | | | | | | | | | | | | | Add tests to cover transitive usage requirements on installation and export of targets that link to object libraries. Issue: #14778
* | | objlib: Link object-files from `OBJECT` libraries.Deniz Bahadir2018-03-013-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: This finally links the object-files of the `OBJECT` library from the right-hand side of `target_link_libraries` to the target on the left-hand side. However, this will only happen with directly linked `OBJECT` libraries, not with `OBJECT` libraries "linked" through property `INTERFACE_LINK_LIBRARIES` of a target on the right-hand side! Fixes: #14778
* | | objlib: Allow `OBJECT` libraries to link to `OBJECT` libraries.Deniz Bahadir2018-03-0112-32/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: This still does not link the object-files of the `OBJECT` library from the right-hand side of `target_link_libraries` to the target on the left-hand side. (In this particular case of another `OBJECT` library on the left-hand side this would not make any sense anyway. The target on the left-hand side has no link-step.) Issue: #14778
* | | objlib: Allow other libraries to link to `OBJECT` libraries.Deniz Bahadir2018-03-0114-34/+67
| | | | | | | | | | | | | | | | | | | | | | | | Note: This only allows `OBJECT` libraries to be on the right-hand side of `target_link_libraries` but still does not link its object-files to the target on the left-hand side. Issue: #14778
* | | objlib: Allow `OBJECT` libraries to link to other libraries.Deniz Bahadir2018-03-019-12/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The proper way to use libraries is now through `target_link_libraries` for things such as usage requirements, compile definitions, include directories, etc. To facilitate this, allow `OBJECT` libraries to "link" to other libraries. Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Issue: #14778
* | | Tests: Teach RunCMake to ignore AIX ld warnings about GNU atexitBrad King2018-03-011-0/+2
| |/ |/|
* | Merge topic 'object-library-export-as-interface'Brad King2018-03-018-17/+34
|\ \ | |/ |/| | | | | | | | | ea0ce73a19 install,export: Maybe transform OBJECT libraries to INTERFACE libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1811
| * install,export: Maybe transform OBJECT libraries to INTERFACE librariesBrad King2018-02-288-17/+34
| | | | | | | | | | | | | | | | | | | | | | Teach the `install` and `export` commands to support installing and exporting `OBJECT` libraries without their object files. Transform them to `INTERFACE` libraries in such cases. For `install(TARGETS)`, activate this when no destination for the object files is specified. For `export`, activate this only under Xcode with multiple architectures when we have no well-defined object file locations to give to clients.
* | Merge topic 'contract-plplot'Brad King2018-02-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 4964fe1e Tests: Update PLplot contract test repository URL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1801
| * | Tests: Update PLplot contract test repository URLBrad King2018-02-261-1/+1
| | | | | | | | | | | | | | | | | | Use a `git://` protocol URL documented by the repository hosting infrastructure. After some updates to that infrastructure, the `https://` URL with the `.git` extension no longer works reliably.
* | | Merge topic 'unixtimefix'Brad King2018-02-272-4/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | e1cd936c Tests: Fix TIMESTAMP-UnixTime test under SOURCE_DATE_EPOCH=1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1800
| * | Tests: Fix TIMESTAMP-UnixTime test under SOURCE_DATE_EPOCH=1Bernhard M. Wiedemann2018-02-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The test was expecting timestamps on day 1 in 1970 to start at 86400 but they actually started at 0. This worked without `SOURCE_DATE_EPOCH=1` because after 1972, leap days compensated the offset. Fixes: #17762
* | | VS: Support C# project referencesRobert Dailey2018-02-237-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When specifying a pure C# target in the `target_link_libraries()` call to another C++ target, a `<ProjectReference>` was setup for it (we wanted this) but also a corresponding `.lib` was added under `<AdditionalDependencies>` (we didn't want this). This change introduces a check that prevents `.lib` linker options from being used when the corresponding target for that library is a C# target. Fixes: #17678
* | | Merge topic '14297-partial-xcode-zero-check'Brad King2018-02-234-0/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 481420ee Xcode: Generate ZERO_CHECK generator target only once Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1790
| * | | Xcode: Generate ZERO_CHECK generator target only onceGregor Jasny2018-02-224-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY has been enabled generate only the root-level ZERO_CHECK target so targets in subdirectories pick up the root generator target of ZERO_CHECK. For the case that CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY is not enabled more investigation and a proper and final fix is still needed. Issue: 14297
| * | | Merge branch 'test-CompileFeatures-c11-range' into release-3.11Brad King2018-02-211-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !1785
* | \ \ \ Merge topic 'test-ExternalProject-serial'Brad King2018-02-221-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a55ad2c Tests: Run ExternalProject tests serially Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1783
| * | | | | Tests: Run ExternalProject tests seriallyBrad King2018-02-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests use a lot of resources, so run them separately from other tests to avoid competition (which may cause spurious timeouts).
* | | | | | Merge topic 'test-CompileFeatures-c11-range'Brad King2018-02-221-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | | | | | | | | | | | | 972f7caa Tests: Make CompileFeatures C dialect check consistent with impl Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1785
| * | | | Tests: Make CompileFeatures C dialect check consistent with implBrad King2018-02-211-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | `Modules/CMakeCCompilerId.c.in` will report the C dialect as 11 whenever `__STDC_VERSION__` indicates *at least* C 11. Make the test consistent with this. We already do this for the C++ case. Fixes: #17740
* | | | Merge topic 'string-join'Brad King2018-02-208-0/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 689eeb67 string: Add JOIN subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1762
| * | | | string: Add JOIN subcommandAlex Turbov2018-02-168-0/+32
| |/ / / | | | | | | | | | | | | | | | | This is just like CONCAT but accepts a glue string to put between each value. `JOIN ""` is equivalent to `CONCAT`.
* | | | Merge topic 'file_cmd_touch'Brad King2018-02-1612-6/+39
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e78e24f6 Replaces execute_process calls to touch files with file(TOUCH) calls 602988e1 Adds file(TOUCH) and file(TOUCH_NOCREATE) sub-commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1705
| * | | | Replaces execute_process calls to touch files with file(TOUCH) callsShane Parris2018-02-152-6/+3
| | | | |
| * | | | Adds file(TOUCH) and file(TOUCH_NOCREATE) sub-commandsShane Parris2018-02-1510-0/+36
| | | | |
* | | | | Merge topic 'genex-IN_LIST-operator'Brad King2018-02-162-0/+10
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 5089f560 Genex: Add IN_LIST logical operator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1724
| * | | | Genex: Add IN_LIST logical operatorMarc Chevrier2018-02-072-0/+10
| |/ / / | | | | | | | | | | | | Implements #17679
* | | | Merge topic 'enhanced-UseSWIG-Module'Brad King2018-02-1521-69/+250
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0bef9eb4 UseSWIG: modernize module d6048bd1 UseSWIG: Re-work test framework Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1707
| * | | | UseSWIG: modernize moduleMarc Chevrier2018-02-148-8/+146
| | | | |
| * | | | UseSWIG: Re-work test frameworkMarc Chevrier2018-02-1417-70/+113
| | |_|/ | |/| |
* | | | Merge topic 'directory-property-TESTS'Brad King2018-02-153-1/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b513a879 Tests management: add TESTS directory property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1748
| * | | | Tests management: add TESTS directory propertyMarc Chevrier2018-02-083-1/+21
| | |/ / | |/| | | | | | | | | | Implements: #17680