summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* FeatureSummary: Add unit testsDaniele E. Domenichelli2017-01-2616-0/+259
|
* FeatureSummary: Clean printed outputDaniele E. Domenichelli2017-01-265-8/+8
| | | | | | | * Remove space before commas * Do not add an empty line before the first type of packages Also fix a typo in unit test.
* Merge topic 'cpack-stgz-minimal-test'Brad King2017-01-245-2/+78
|\ | | | | | | | | | | 624709c8 CPack/STGZ: minimalistic packages test 1c93eb68 CPack/STGZ prefer pax for extraction
| * CPack/STGZ: minimalistic packages testDomen Vrankar2017-01-225-2/+78
| |
* | Merge topic '16253-xcode-effective-platform-name'Brad King2017-01-242-0/+35
|\ \ | | | | | | | | | | | | 10c9c73d Xcode: Control emission of EFFECTIVE_PLATFORM_NAME
| * | Xcode: Control emission of EFFECTIVE_PLATFORM_NAMEGregor Jasny2017-01-202-0/+35
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with multiple SDKs within one project Xcode requires the usage of ${EFFECTIVE_PLATFORM_NAME} to put temporary and build outout into separate directories. For example an iOS device and simulator build use two different SDKs (iphoneos and iphonesimulator). In the past cmake tries to detect embedded toolchains that could possibly use simulators and emitted EFFECTIVE_PLATFORM_NAME (EPN) at the proper locations. In #16253 Mark noticed that if he uses macosx and iphoneos in combination the necessary EPN is not emitted. This is because CMake by default assumes macosx SDK which does not trigger EPN emission. The fist naive approach - enabling EPN unconditionally revealed that then the EPN leaks into generator expressions like $<TARGET_FILE:xxx> which might be a regression and thus is unacceptable. The next approach was to add an CMake property to enable EPN emission unconditionally. This solved the reported problem. But the EPN leakage also happened for the embedded toolchains already without anyone noticing. So the control property was turned into a tri-state one: * No definition: EPN is activated for embedded toolchains like before * ON: EPN is always emitted * OFF: EPN is never emitted That approach gives the user the chance to disable EPN for embedded toolchains and restores generator expression functionality for those. Closes: #16253
* | Merge topic '16165-manually-added-dependencies'Brad King2017-01-208-0/+35
|\ \ | | | | | | | | | | | | d9f836e9 Add a getter for manually added target dependencies
| * | Add a getter for manually added target dependenciesGregor Jasny2017-01-168-0/+35
| | | | | | | | | | | | Closes: #16165
* | | Merge topic 'cdash_upload_retry'Brad King2017-01-208-6/+8
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 05ed82b1 ctest_submit: Update documentation for CDash upload retries 0ce7643a ctest_submit: improve handling of QUIET option 5614a5cd ctest_submit: Allow RETRY_COUNT for CDASH_UPLOAD
| * | ctest_submit: Allow RETRY_COUNT for CDASH_UPLOADZack Galbreath2017-01-208-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Teach the CDASH_UPLOAD signature of ctest_submit() to honor the RETRY_COUNT and RETRY_DELAY options. Also teach HttpRequest() to honor the default 120 second timeout for curl connections.
* | | Merge topic 'fixtureUnusedOrdering'Brad King2017-01-173-0/+16
|\ \ \ | | | | | | | | | | | | | | | | 298b5b31 CTest: Ensure setup/cleanup ordering even when fixture not required
| * | | CTest: Ensure setup/cleanup ordering even when fixture not requiredCraig Scott2017-01-163-0/+16
| | | | | | | | | | | | | | | | Closes: #16558
* | | | Merge topic 'file-GLOB-empty-no-crash'Brad King2017-01-172-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 2bba0bfc file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
| * | | | file: Fix crash on GLOB with no expressions after LIST_DIRECTORIESBrad King2017-01-162-0/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no expression causes a crash. Fix the logic to avoid the crash. Fixes: #16565
* | | | Merge topic 'expand_custom_commands'Brad King2017-01-172-0/+35
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 7c8ab7dd add_custom_{command,target}: Add COMMAND_EXPAND_LISTS option
| * | | add_custom_{command,target}: Add COMMAND_EXPAND_LISTS optionEd Branch2017-01-142-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | This option allows lists generated by generator expressions to be expanded. Closes: #15935
* | | | Merge topic 'source_group-tree'Brad King2017-01-166-1/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | b42330be source_group: Add options create groups matching directory tree
| * | | | source_group: Add options create groups matching directory treeMateusz Janek2017-01-166-1/+35
| | |_|/ | |/| | | | | | | | | | Add `TREE` and `PREFIX` arguments to enable this behavior.
* | | | Merge topic 'csharp_simple'Brad King2017-01-166-1/+49
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 397b8546 VS: added documentation for C# support a7dd8e66 VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015) 6fda6005 VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS
| * | | | VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)Michael Stürmer2017-01-135-0/+48
| | | | |
| * | | | VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPSMichael Stürmer2017-01-131-1/+1
| | |_|/ | |/| |
* | | | Merge topic 'cuda_propagate_flags_when_dlink_on_executables'Brad King2017-01-165-0/+48
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 8d1f9e5b CUDA: Now pass correct FLAGS when device link cuda executables. dc5051f1 CUDA: Test that CUDA flags are used when device linking executables.
| * | | | CUDA: Test that CUDA flags are used when device linking executables.Robert Maynard2017-01-125-0/+48
| |/ / /
* | | | Merge topic 'fix_repeat_until_fail_duplicated_output'Brad King2017-01-161-0/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | a1058637 CTest: Properly reset output to avoid duplication with --repeat-until-fail
| * | | CTest: Properly reset output to avoid duplication with --repeat-until-failSylvain Joubert2017-01-121-0/+2
| | | |
* | | | Merge topic 'cuda-windows'Brad King2017-01-1213-17/+100
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f9a810f7 CUDA: Enable CudaOnly.SeparateCompilation test runtime calls 5599d858 CUDA: Port test cases to Windows with MSVC host compiler 11551702 CUDA: Populate NVIDIA compiler information on Windows 5365421e CUDA: Detect implicit link information on Windows 522b913f CUDA: Find MSVC binutils on Windows 02582b91 CUDA: Populate compiler PDB placeholder during device linking d470cb70 CUDA: Use `.obj` object file extension on Windows a2e80cb0 CUDA: Detect MSVC architecture id 65c1e012 CUDA: Detect use of MSVC host compiler 945dd207 CUDA: Allow platform files to set device linking rules 95420cea CMakeParseImplicitLinkInfo: Add support for MSVC invoked by CUDA nvcc
| * | | | CUDA: Enable CudaOnly.SeparateCompilation test runtime callsBrad King2017-01-121-4/+4
| | | | | | | | | | | | | | | | | | | | Uncomment the calls in `main.cpp` (and fix the signatures).
| * | | | CUDA: Port test cases to Windows with MSVC host compilerBrad King2017-01-1211-13/+89
| | | | |
| * | | | CMakeParseImplicitLinkInfo: Add support for MSVC invoked by CUDA nvccBrad King2017-01-121-0/+7
| | | | |
* | | | | Merge topic 'launcher-tests'Brad King2017-01-1210-35/+88
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | 4b0c13a8 Tests: Add additional launcher tests
| * | | | Tests: Add additional launcher testsMatthew Woehlke2017-01-1010-35/+88
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Modify the launcher test to also try to build two executables, having respectively build and link errors. This is intended to test that launchers are used when running compile and link commands, as well as custom commands. (In particular, this should catch breakage such as that fixed by ce71bd9505a.)
* | | | CUDA: ConsumeCompileFeatures use cxx_nullptr for wider compiler supportRobert Maynard2017-01-111-1/+1
| |/ / |/| | | | | | | | | | | We need to use a C++11 feature that is supported by the widest range of compilers, so we chose nullptr instead of constexpr.
* | | Merge topic 'ctest_memcheck-leak_sanitizer'Brad King2017-01-116-17/+82
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e537bd91 ctest_memcheck: do not add detect_leaks=1 to ASAN_OPTIONS 0a2e5885 ctest_memcheck: join *SAN_OPTIONS with : cdacfbd2 MEMORYCHECK_SUPPRESSIONS_FILE: add support for sanitizers cf590c12 ctest_memcheck: add support for standalone LeakSanitizer
| * | | ctest_memcheck: join *SAN_OPTIONS with :Jamie Snape2017-01-091-5/+5
| | | |
| * | | ctest_memcheck: add support for standalone LeakSanitizerJamie Snape2017-01-096-13/+78
| |/ /
* | | Merge topic 'cpack-rpm-user-binary-spec-file-test'Brad King2017-01-116-0/+102
|\ \ \ | | | | | | | | | | | | | | | | af77368e CPack/RPM test for using custom binary spec file
| * | | CPack/RPM test for using custom binary spec fileDomen Vrankar2017-01-106-0/+102
| | | |
* | | | Merge topic 'Autogen_Simplify'Brad King2017-01-1123-0/+283
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7db05f42 AUTOGEN: Release notes for SKIP_AUTOX 6eabac26 AUTOGEN: Documentation update: cmake-qt, AUTOMOC, AUTOUIC, AUTORCC cbc07d33 AUTOGEN: Documentation for SKIP_AUTOX source file properties c17e0a3a AUTOGEN: Tests: AUTORCC SKIP_AUTORCC and SKIP_AUTOGEN test 53787bf8 AUTOGEN: Tests: AUTOUIC SKIP_AUTOUIC and SKIP_AUTOGEN test 8dbdd3e7 AUTOGEN: Tests: AUTOMOC SKIP_AUTOMOC and SKIP_AUTOGEN test 0699760d AUTOGEN: Generators: Do moc/uic skip test during file list generation a84f0bb7 AUTOGEN: Generators: Message upper/lower case unification 7b766b83 AUTOGEN: Generators: Use single moc/uic skip test method only 2964b8cc AUTOGEN: Generators: Use AUTOMOC/UIC/RCC instead of AUTOGEN in messages d58b6bf3 AUTOGEN: Generators: Moc/UicSkipTest methods 94c319f9 AUTOGEN: Generators: Use separate header lists for MOC and UIC 966be439 AUTOGEN: Generators: Be verbose about skipping files de531432 AUTOGEN: Generators: Remove unused variable d8e45536 AUTOGEN: Initializer: Always remember skipped files d9313a82 AUTOGEN: Initializer: Enable SKIP_AUTOGEN on all AUTOGEN generated sources ...
| * | | AUTOGEN: Tests: AUTORCC SKIP_AUTORCC and SKIP_AUTOGEN testSebastian Holtermann2017-01-105-0/+46
| | | |
| * | | AUTOGEN: Tests: AUTOUIC SKIP_AUTOUIC and SKIP_AUTOGEN testSebastian Holtermann2017-01-1012-0/+147
| | | |
| * | | AUTOGEN: Tests: AUTOMOC SKIP_AUTOMOC and SKIP_AUTOGEN testSebastian Holtermann2017-01-108-0/+90
| | |/ | |/|
* | | Merge topic 'cpack-new-tests'Brad King2017-01-1020-63/+110
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 36bc7e4c store old locale to a temporary variable 05c14ea0 RunCMake.CPack_* add COMPONENT to minimal test 5b0a64eb CPack/Archive minimal tests for more formats
| * | | RunCMake.CPack_* add COMPONENT to minimal testDomen Vrankar2016-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | Add component based packages testing to current monolithic minimal package tests.
| * | | CPack/Archive minimal tests for more formatsDomen Vrankar2016-12-2320-63/+110
| | |/ | |/|
* | | Merge topic 'cpack-deb-md5sums-paths-fix'Brad King2017-01-104-0/+11
|\ \ \ | | | | | | | | | | | | | | | | 6daa2d38 CPack/Deb invalid md5sums file fix
| * | | CPack/Deb invalid md5sums file fixDomen Vrankar2016-12-234-0/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Monolithic deb packages were packaged with invalid md5sums file as trailing slash in path was causing string replace to fail and preserve build path. Fixes #16517
* | | CPack test additional std out/err regex file overloadsDomen Vrankar2017-01-102-3/+18
| |/ |/| | | | | | | Added std out/std err expected regex file name overloads for packaging type.
* | Merge topic '15687-revisit-xcode-system-include'Brad King2017-01-092-5/+14
|\ \ | | | | | | | | | | | | 88f07fb4 Xcode: Properly mark SYSTEM includes as such
| * | Xcode: Properly mark SYSTEM includes as suchGregor Jasny2016-12-272-5/+14
| |/ | | | | | | | | | | | | | | | | We now populate the per-language flags in addition to the header search paths stored in HEADER_SEARCH_PATHS. This preserves include paths for GNU assembly files (cmake/cmake#16449) and also provides SYSTEM include semantics. Closes: cmake/cmake#15687
* | cmTarget: Enforce TYPE being a read-only propertyGregor Jasny2017-01-094-0/+5
|/