summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix some references to 'cmake' executableBrad King2017-09-151-9/+9
| | | | | Use `${CMAKE_CMAKE_COMMAND}` rather than `cmake` or `${CMAKE_COMMAND}` in order to ensure we always refer to the `cmake` command being tested.
* Tests: Drop tests that have not run for over 10 yearsBrad King2017-09-151-25/+0
|
* FindFreetype: Add imported target, docs, and testBen Morgan2017-09-071-0/+4
|
* Merge topic 'findexpat-importedtargets'Brad King2017-09-071-0/+4
|\ | | | | | | | | | | | | | | | | 3a4f82e9 Help: Add notes for topic 'FindEXPAT-importedtargets' bfe51369 FindEXPAT: Add unit test of target and variables 78f166f8 FindEXPAT: Add imported target and documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1207
| * FindEXPAT: Add unit test of target and variablesBen Morgan2017-09-011-0/+4
| |
* | FindPatch: Add module to find 'patch' command-line toolJean-Christophe Fillion-Robin2017-09-011-0/+4
| |
* | server: test buffer parsingJustin Berger2017-08-311-0/+4
|/
* server: always enable serverDaniel Pfeifer2017-08-261-7/+5
|
* Autogen: Move repeated tests to new QtAutogenRerun testSebastian Holtermann2017-07-211-3/+36
| | | | | | By moving QtAutogen tests that run repeatedly to a new QtAutogenRerun test, the `ctest -R Qt[45]Autogen -j4` call runs approximately 25% faster.
* Merge topic 'vs_fix_configuration_error'Brad King2017-06-221-1/+1
|\ | | | | | | | | | | | | 0db4c7a0 Tests: Verify registry value is not "/registry" before using Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !994
| * Tests: Verify registry value is not "/registry" before usingMichael Stürmer2017-06-211-1/+1
| | | | | | | | Fixes: #17002
* | Vs: allow CSharp targets to be linked to CXX targetsMichael Stürmer2017-06-211-0/+1
|/ | | | Fixes: #16755
* Merge topic 'add-common-record-features-macros'Brad King2017-06-011-3/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c1ecb52 Intel: Fix missing C std default for 12.0 <= ver < 12.1 f70b0bb3 SunPro: Make sure all known versions get CXX98 defaults 220ede74 GNU: Fix language defaults for 3.4 a40e6ba8 Clang: Fix language defaults for 2.1 9b112a84 Compilers: Port to use default cmake_record_lang_compile_features macros 37221529 MSVC: Add empty definitions for std compile options e556f1b9 CompileFeatures: Makes tests work with meta-feature only 20ffa147 Tests: Allow test macro to take no executable arguments ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !833
| * CompileFeatures: Makes tests work with meta-feature onlyChuck Atkins2017-05-291-1/+1
| |
| * Tests: Allow test macro to take no executable argumentsChuck Atkins2017-05-291-2/+6
| |
* | Tests: Skip BootstrapTest if testing external CMakeBrad King2017-05-311-0/+3
| | | | | | | | | | If we are not actually building CMake then we should not run the `BootstrapTest` (which builds CMake).
* | Tests: Fix XCTest build configurationBrad King2017-05-301-0/+1
|/ | | | | | Build the test binaries with the same configuration in which they will be tested instead of the default Debug configuration. This fixes the test when run in a Release configuration.
* Improve Doxygen supportAlex Turbov2017-05-241-0/+4
| | | | | | | | | | | | | | | | | | | | | Except Graphviz's `dot` Doxygen may use few other utilities like `mscgen` (Message Sequence Chart) and `dia` (Diagram Editor). Now this module allows to manage Doxygen settings from `CMakeLists.txt` and forget about `Doxyfile`s. Also it provides a helper function to add a target to generate documentation: `doxygen_add_docs`. Implement code review notes: - Introduce `COMPONENTS` to find: `dot`, `mscgen` and `dia`; - Deprecate variables `DOXYGEN_SKIP_DOT`, `DOXYGEN_EXECUTABLE`, `DOXYGEN_DOT_EXECUTABLE`, `DOXYGEN_DOT_FOUND` in favour of `doxygen_add_docs ` usage instead; - Properly handle paths to found tools in Windows; - Prevent adding a custom target if Doxygen was not really found; - Introduce exported (executable) targets for found components. Co-Author: Craig Scott <craig.scott@crascit.com>
* Merge topic 'FindProtobuf-targets'Brad King2017-05-191-0/+4
|\ | | | | | | | | | | | | | | | | 37627217 Help: Add notes for topic 'FindProtobuf-targets' e4e1d194 FindProtobuf: add tests f29635b6 FindProtobuf: add targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !861
| * FindProtobuf: add testsAndré Apitzsch2017-05-181-0/+4
| |
* | GoogleTest: Expand capabilities of gtest_add_tests()Craig Scott2017-05-151-0/+1
|/ | | | | | | | Now has keyword-based arguments (old syntax form is still supported). Discovered tests can have a prefix and/or suffix added to the test names and the list of discovered tests is available to the caller. The working dir can also be set and the dependency on the source files is now optional instead of mandatory.
* Merge topic 'findopenmp-modernized'Brad King2017-04-261-0/+4
|\ | | | | | | | | | | | | | | 99ac0940 FindOpenMP: Add tests bb032c1b FindOpenMP: Complete overhaul. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !733
| * FindOpenMP: Add testsChristian Pfeiffer2017-04-251-0/+4
| |
* | Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-191-7/+6
| | | | | | | | This generator has been deprecated since CMake 3.6. Remove it.
* | Merge topic 'test-CheckIPOSupported'Brad King2017-04-191-0/+11
|\ \ | | | | | | | | | | | | | | | | | | eeb58c5c Tests: Add cases for typical CheckIPOSupported usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !700
| * | Tests: Add cases for typical CheckIPOSupported usageRuslan Baratov2017-04-181-0/+11
| |/
* | Merge topic 'fix-CMakeTestAllGenerators'Brad King2017-04-191-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9e338b57 Tests: Drop machine-specific logic from CMakeTestAllGenerators 2790ffc9 Tests: Run CMakeTestAllGenerators serially f1e51ec3 Tests: Fix CMakeTestAllGenerators generator list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !720
| * | Tests: Run CMakeTestAllGenerators seriallyBrad King2017-04-181-0/+3
| |/ | | | | | | | | This test may take a long time because it runs many other tools. Do not make it compete with other tests for resources.
* | FindMPI: Add test caseChristian Pfeiffer2017-04-181-0/+4
|/
* VS: Add support for ASM_NASM languageEvgeny Fimochkin2017-02-071-1/+6
| | | | Fixes: #16469
* VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)Michael Stürmer2017-01-131-0/+3
|
* FindOpenGL: Provide imported targets for GL and GLUBrad King2016-12-021-0/+4
| | | | | | | | | | | | | | | | Create OpenGL::GL and OpenGL::GLU imported targets using the locations found. This feature was originally added by commit v3.1.0-rc1~420^2~2 (FindOpenGL: Provide imported targets for GL and GLU, 2014-05-31) but had to be reverted by commit v3.1.0-rc3~10^2 (FindOpenGL: Revert support for imported targets, 2014-12-01) due to issue #15267. Since then we added support for `IMPORTED_LIBNAME` to interface libraries, so use it to handle the case where we have only the library name without an absolute path. Inspired-by: Philipp Möller <bootsarehax@googlemail.com> Closes: #15267
* Merge topic 'QtAutogen_tests_update_v2'Brad King2016-11-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 6938772a QtAutogen tests: Pass Qt compiler features to library targets c4d4becf QtAutogen tests: Move the complex test case to a subdirectory 2599f5d6 QtAutogen tests: Extend test description in CMakeLists.txt 7052af9d QtAutogen tests: Move independent sameName test to top list of CMakeLists.txt d675004d QtAutogen tests: Rename uiconly target to camel case uicOnly cb4bc19a QtAutogen tests: Rename rcc_empty target to camel case rccEmpty 59dbd3f8 QtAutogen tests: Rename rcconly target to camel case rccOnly.
| * QtAutogen tests: Move the complex test case to a subdirectorySebastian Holtermann2016-11-291-1/+1
| |
* | CUDA: Add tests to verify CUDA compiler works properly.Robert Maynard2016-11-141-0/+7
|/
* Merge topic 'import-librhash'Brad King2016-11-101-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd8a57ae Add option to build CMake against a system librhash 71180fc8 FindLibRHash: Add module to find the librhash package 3216e94c Remove unused cm_sha2 infrastructure 5420278d Port hash computation to cmCryptoHash 9a596b33 cmCryptoHash: Re-implement in terms of librhash 47f91a61 cmCryptoHash: Avoid using subclasses at client sites d0ff3e70 librhash: Port to KWIML for ABI and integer type information 465a85fb librhash: Avoid signed left-shift overflow fc2cb74f librhash: Implement bswap_32 as a function even in strict C90 mode 0bd333bc librhash: Implement bswap_64 even in strict C90 mode 7189d62c librhash: Use __builtin_bswap{32,64} on Clang af7ebf8a librhash: Install COPYING file with CMake documentation bb01f20e librhash: Disable warnings to avoid changing 3rd party code 31bb727f librhash: Build the library within CMake 53048afa librhash: Remove source fragments not needed for CMake 5cb1b345 Merge branch 'upstream-librhash' into import-librhash ...
| * FindLibRHash: Add module to find the librhash packageBrad King2016-11-101-0/+4
| | | | | | | | | | | | Add it to a private source directory that is not installed so that we can use it for building CMake itself. This will allow it to mature before being distributed publicly.
* | Drop KWStyle checks in favor of clang-format and Git hooksBrad King2016-11-081-14/+0
|/ | | | | | We now define code layout by clang-format and enforce whitespace with Git hooks. There is no need to run KWStyle anymore, as all we used it to check was line length anyway.
* BootstrapTest: Use --parallel=... argument.Daniel Pfeifer2016-10-211-2/+2
| | | | | | Determine the number of processors and provide it to the bootstrap script. Also make sure this test does not run parallel with other tests.
* Tests: Add VSNsightTegra test for VS 2015Brad King2016-10-181-0/+3
|
* server-mode: Add option to enable/disable test case explicitlyBrad King2016-09-291-1/+1
| | | | | | | Add a `CMake_TEST_SERVER_MODE` option that can be set in testing builds to enable/disable server mode tests explicitly. This will allow testing in combination with `CMake_TEST_EXTERNAL_CMAKE` or for server mode to be built on systems that have a python version that cannot run the test.
* server-mode: Rename variable CMake_{HAVE => ENABLE}_SERVER_MODEBrad King2016-09-291-1/+1
| | | | The latter is a better name for making it a public-facing option.
* Tests: Decide earlier whether to test resourcesBrad King2016-09-281-11/+12
| | | | Provide a CMake_TEST_RESOURCES variable storing the decision.
* Tests: Add Fortran submodule testsBrad King2016-09-231-0/+1
| | | | | Co-Author: Damian Rouson <damian@sourceryinstitute.org> Issue: #16234
* Tests: Split Fortran module testing into separate FortranModules testBrad King2016-09-221-1/+13
| | | | | The main Fortran test is not granular enough. Split some into another test.
* cmake-server: Add unit testTobias Hunger2016-09-191-0/+9
|
* Merge topic 'bzip2-imported-targets'Brad King2016-09-121-0/+4
|\ | | | | | | | | | | | | 79eba4b7 Help: Add notes for topic 'bzip2-imported-targets' 069cac58 Tests: Add FindBZip2 unit tests e9ce0503 FindBZip2: Add imported target
| * Tests: Add FindBZip2 unit testsRoger Leigh2016-09-091-0/+4
| |
* | FindMatlab: add verbosity to the nightly testsRaffi Enficiaud2016-09-081-3/+3
|/
* Tests: Port GenerateExportHeader test to RunCMake infrastructureBrad King2016-09-051-1/+0
| | | | This will allow build failure cases to be added later.