summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic '16607-error-out-on-non-seekable-input-files'Brad King2017-02-284-1/+17
|\ | | | | | | | | ded616bd cmListFileLexer: bail out on seek-errors
| * cmListFileLexer: bail out on seek-errorsGregor Jasny2017-02-274-1/+17
| | | | | | | | | | | | | | If we are given a FIFO, for example, we cannot seek back after trying to read a Byte-Order-Mark. Closes: #16607
* | ExternalProject: only append `COMMAND` if actually adding a commandBen Boeckel2017-02-271-0/+10
| | | | | | | | Fixes #16544.
* | Merge topic 'object-library-compile-pdb'Brad King2017-02-271-0/+1
|\ \ | | | | | | | | | | | | feff52d4 Fix COMPILE_PDB_NAME when used on an OBJECT library
| * | Fix COMPILE_PDB_NAME when used on an OBJECT libraryBrad King2017-02-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | When `COMPILE_PDB_NAME` is used without `COMPILE_PDB_OUTPUT_DIRECTORY` we cannot fall back on the link `PDB_OUTPUT_DIRECTORY` for an object library because it has no link step. Fixes: #16674
* | | Merge topic 'test-objlib-deps-cleanup'Brad King2017-02-2710-36/+38
|\ \ \ | | | | | | | | | | | | | | | | | | | | b35a949b Tests: Change RunCMake.ObjectLibrary dependencies case to C 01347954 Tests: Fix RunCMake.ObjectLibrary dependency delay
| * | | Tests: Change RunCMake.ObjectLibrary dependencies case to CBrad King2017-02-2610-31/+27
| | | |
| * | | Tests: Fix RunCMake.ObjectLibrary dependency delayBrad King2017-02-261-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | Sleep before the second copy to avoid the need for a touch. Sleep for longer on generators whose build tools have low resolution timestamps.
* | | | Merge topic '16615-xcode-object-libraries-depends'Brad King2017-02-246-0/+52
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 624021a0 Add test for object library dependencies 5da9266a Xcode: Always track object library dependencies via hacky Makefile e80ac953 Xcode: Record dependency information also for object libraries 9293e57d Xcode: Collect dummy rules during iteration and emit afterwards 33a1d727 Makefile: Allow adding post-build rules to object libraries
| * | | Add test for object library dependenciesGregor Jasny2017-02-226-0/+52
| | | | | | | | | | | | | | | | Issue: #16615
* | | | Merge topic 'autogen_depends'Brad King2017-02-2410-6/+46
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 62a1e292 Autogen: Add hint to SKIP_AUTOMOC in error message e98465cf Autogen: Add Quote function and use it for logging 96f6f392 Autogen: Add AUTOMOC_DEPEND_FILTERS documentation 94e3f82c Autogen: Add AUTOMOC_DEPEND_FILTERS test 70ebf35c Autogen: Add AUTOMOC_DEPEND_FILTERS support 2a6fd432 Autogen: Single point of return in Run() method e9a8a207 Autogen: Log simplifications
| * | | Autogen: Add AUTOMOC_DEPEND_FILTERS testSebastian Holtermann2017-02-2210-6/+46
| | | |
* | | | Merge topic 'clang-format-attrs'Brad King2017-02-234-0/+8
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | d5f39a56 clang-format.bash: Use Git attributes to mark files for formatting f6986ee4 Define a custom Git attribute to mark sources using our C style 2256c3a7 Define a custom Git attribute to mark source files as generated
| * | | clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-224-0/+8
| | | |
* | | | Merge topic 'autogen_json'Brad King2017-02-2236-13/+575
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29d96633 Autogen: Don't use .moc include in Q_PLUGIN_METADATA test d60f1ddc Autogen: Documentation update cdb72127 Autogen: Add release notes for Q_PLUGIN_METADATA support 8b13a52c Autogen: Tests: Set different compression levels in rcc test 9d1db7d7 Autogen: Overhaul and simplify AutogenInfo.cmake file generation 0ab817fa Autogen: Optimize GetCompileDefinitionsAndDirectories function 754d4318 Autogen: Sort AutogenInfo.cmake.in cd74daf0 Autogen: Tests: Add Q_PLUGIN_METADATA test 39c4819e Autogen: Tests: Add moc include tests 50805693 Autogen: Tests: Clean comments c23206b6 Autogen: Log simplifications 347572cf Autogen: Only touch an unchanged moc_compilation.cpp 03df033b Autogen: Rebuild moc when Q_PLUGIN_METADATA json file changes 3ec230de Autogen: Use GetRealPath in central places only 41fb64e7 Autogen: Search moc includes in include directories 175c8900 Autogen: Sort includes before composing include options ...
| * | | | Autogen: Don't use .moc include in Q_PLUGIN_METADATA testSebastian Holtermann2017-02-212-12/+8
| | | | |
| * | | | Autogen: Tests: Set different compression levels in rcc testSebastian Holtermann2017-02-211-0/+11
| | | | |
| * | | | Autogen: Tests: Add Q_PLUGIN_METADATA testSebastian Holtermann2017-02-2117-2/+203
| | | | |
| * | | | Autogen: Tests: Add moc include testsSebastian Holtermann2017-02-2119-0/+354
| | | | |
| * | | | Autogen: Tests: Clean commentsSebastian Holtermann2017-02-211-11/+11
| | |/ / | |/| |
* | | | Make CMAKE_HOST_SYSTEM_NAME available in scripting contextGregor Jasny2017-02-191-1/+0
|/ / /
* | | Merge topic 'install_name_policy'Brad King2017-02-1713-0/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1ba91291 Add policy CMP0068 separate install_name and RPATH settings on macOS f7b9bf41 Apple: Add BUILD_WITH_INSTALL_NAME_DIR target property 4bff2d14 Apple: Refactor support for using INSTALL_NAME_DIR. 624fb9d7 Help: Format BUILD_WITH_INSTALL_RPATH documentation
| * | | Add policy CMP0068 separate install_name and RPATH settings on macOSClinton Stimpson2017-02-1413-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD_WITH_INSTALL_RPATH, SKIP_BUILD_RPATH, CMAKE_SKIP_RPATH and CMAKE_SKIP_INSTALL_RPATH no longer any effect on the install name of a target on macOS. Fixes: #16589
* | | | Merge topic 'vs-refactor-toolset-parsing'Brad King2017-02-1611-3/+48
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | f773933f VS: Refactor generator toolset parsing d9e2b9a9 Tests: Split out RunCMake.GeneratorToolset Xcode checks
| * | | | VS: Refactor generator toolset parsingBrad King2017-02-158-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We parse `CMAKE_GENERATOR_TOOLSET` values of the forms: * `toolset` * `toolset,host=x64` * `host=x64` Generalize the parsing to support the forms: * `toolset` * `toolset[,key=value]*` * `key=value[,key=value]*` Disallow duplicate keys. Require all but the first field to be of `key=value` form.
| * | | | Tests: Split out RunCMake.GeneratorToolset Xcode checksBrad King2017-02-154-1/+18
| | | | | | | | | | | | | | | | | | | | This will allow the behavior of VS and Xcode generators to differ.
* | | | | Merge topic 'cuda-msvc-flags'Brad King2017-02-165-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55fb46d2 CUDA: Fix default compiler flags on Windows d7c80f60 CUDA: Fix test cases to not override CUDA flags
| * | | | | CUDA: Fix test cases to not override CUDA flagsBrad King2017-02-155-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Append to `CMAKE_CUDA_FLAGS` instead of overwriting it.
* | | | | | Merge topic 'cuda-with-c'Brad King2017-02-154-0/+43
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | | | | | | | 1c60231c CUDA: Link to standard system libraries when linking as CUDA 8d75d8dc Tests: Add case for CUDA with C but not C++
| * | | | CUDA: Link to standard system libraries when linking as CUDABrad King2017-02-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows with MSVC-like host compilers we must honor the standard libraries chosen by the `Platform/Windows-MSVC` module. Otherwise C code linked into the CUDA binary that expects to have these libraries available may not link.
| * | | | Tests: Add case for CUDA with C but not C++Brad King2017-02-144-0/+35
| | |/ / | |/| | | | | | | | | | An executable using CUDA and C should link as CUDA.
| * | | Tests: Run clang-format on CUDA codeBrad King2017-02-1416-86/+59
| | | |
* | | | Tests: Run clang-format on CUDA codeBrad King2017-02-1416-133/+91
| | | |
* | | | Merge branch 'backport-clang-format-cuda' into clang-format-cudaBrad King2017-02-142-0/+18
|\ \ \ \ | |/ / /
| * | | clang-format.bash: Format CUDA source files tooBrad King2017-02-142-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Add `.clang-format` configuration files for Cuda test directories that use `Standard: Cpp11`. Otherwise clang-format splits the triple angle brackets used for CUDA kernels.
* | | | Merge topic 'cmake_provide_include_dir_for_toolkit'Brad King2017-02-144-0/+31
|\ \ \ \ | |/ / / | | | | | | | | | | | | 44f3acb2 CUDA: Detect the toolkit include directories
| * | | CUDA: Detect the toolkit include directoriesRobert Maynard2017-02-104-0/+31
| | |/ | |/| | | | | | | | | | The `nvcc -v` output provides what include directories need to be added to use the CUDA toolkit from other languages ( C/C++ ).
* | | Tests/Cuda: Select a CUDA device supporting compute 3.0Pierre Moreau2017-02-102-0/+46
| | |
* | | Tests/Cuda: Return a non-zero code if errors occurredPierre Moreau2017-02-102-6/+8
| | |
* | | Tests/Cuda: Use memory allocated on the GPU in the kernelsPierre Moreau2017-02-102-10/+45
| | |
* | | Tests/Cuda: Add missing separable compilation propertyPierre Moreau2017-02-101-0/+2
| | | | | | | | | | | | | | | | | | | | | This resulted in `mixed_kernel()` returning an "invalid device function" at runtime for `file1_func()`. Suggested-by: Robert Maynard
* | | Tests/Cuda: Fix missing CUDA static library at runtime on macOSPierre Moreau2017-02-101-0/+6
| | | | | | | | | | | | Suggested-by: Robert Maynard
* | | Tests/Cuda: Output error messages to std::cerr instead of std::coutPierre Moreau2017-02-101-2/+2
| | |
* | | Tests/Cuda: Print asynchronous error messages, if anyPierre Moreau2017-02-103-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As kernel launches are asynchronous, a `cudaGetLastError()` right after the kernel launch might be executed while the kernel is still running. Synchronizing the device will ensure that all the work is completed before progressing further on, and allows to catch errors that were previously missed. The `cudaGetLastError()` after the `cudaDeviceSynchronize()` is there to reset the error variable to `cudaSuccess`.
* | | Tests/Cuda: Print error message if mixed_kernel failedPierre Moreau2017-02-101-0/+7
| | |
* | | Tests/Cuda: Add identifiers to error messagesPierre Moreau2017-02-102-2/+4
| | |
* | | Tests/Cuda: Print error message if an error occurredPierre Moreau2017-02-102-2/+2
| | | | | | | | | | | | Fixes c59811a2 "CUDA: Tests now state why they are failing when no CUDA card is found."
* | | Merge topic 'vs-nasm'Brad King2017-02-105-1/+35
|\ \ \ | | | | | | | | | | | | | | | | 5ba2c9e5 VS: Add support for ASM_NASM language
| * | | VS: Add support for ASM_NASM languageEvgeny Fimochkin2017-02-075-1/+35
| |/ / | | | | | | | | | Fixes: #16469
* | | Tests: Fix `file://` URLs given to curlBrad King2017-02-106-6/+24
| |/ |/| | | | | | | | | | | Since upstream curl commit curl-7_52_0~131 (URL-parser: for file://[host]/ URLs, the [host] must be localhost, 2016-11-11) we can no longer use URLs of the form `file://c:/...` on Windows. These worked only accidentally before. Use `file:///c:/...` instead.