summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'HandleTargetsInCMakeRequiredLibraries'David Cole2012-02-211-0/+11
|\ | | | | | | | | | | | | | | 35c48e1 Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES 61cb4ea bootstrap: move while() and endwhile() into the bootstrap build c9f2886 -don't pull in CheckTypeSize.cmake from the cmake which is being built 628f365 -remove trailing whitespace
| * Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIESAlex Neundorf2012-02-211-0/+11
| | | | | | | | | | | | | | | | | | | | | | Add the function cmake_expand_imported_targets() to expand imported targets in a list of libraries into their on-disk file names for a particular configuration. Adapt the implementation from KDE's HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES which has been in use for over 2 years. Call the function from all the Check*.cmake macros to handle imported targets named in CMAKE_REQUIRED_LIBRARIES. Alex
* | Merge topic 'doBuildRPM-withSpaceInTree'David Cole2012-02-211-0/+8
|\ \ | | | | | | | | | | | | 6749450 Do not build RPM if path of the build tree contains space
| * | Do not build RPM if path of the build tree contains spaceEric NOULARD2012-02-191-0/+8
| | |
* | | Merge topic 'expect-more-versions'David Cole2012-02-211-2/+3
|\ \ \ | | | | | | | | | | | | | | | | 540db7e AllFindModules test: expect more modules to have a version number available
| * | | AllFindModules test: expect more modules to have a version number availableRolf Eike Beer2012-02-181-2/+3
| |/ / | | | | | | | | | | | | | | | For all current build machines the modules FindPkgConfig, FindFreetype, and FindLibXslt return a version number. Enforce this to early catch when this is not always the case.
* | | Merge topic 'findlibrary-versioned-libraries'David Cole2012-02-211-1/+31
|\ \ \ | | | | | | | | | | | | | | | | 70f3623 Find_library(): allow searching for versioned shared objects
| * | | Find_library(): allow searching for versioned shared objectsRolf Eike Beer2012-02-181-1/+31
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This did not work because find_library() did only treat the given name as complete filename if is matched "PREFIX.*SUFFIX": find_library(MYLIB libfoo.so.2) Now it is also taken as a whole if the name matches "PREFIX.*SUFFIX\..*".
* | | Merge topic 'fix-typos-12975'David Cole2012-02-211-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | 7ec2ebd fix the same typos as found by Debian in other places, too d36d29f various typo and formatting fixes in manual pages (#12975)
| * | | fix the same typos as found by Debian in other places, tooRolf Eike Beer2012-02-181-3/+3
| |/ /
* | | Tests: document where to put testsRolf Eike Beer2012-02-171-0/+34
|/ /
* | Merge topic 'allfindmodules-no-force-gnuplot'David Cole2012-02-141-1/+1
|\ \ | | | | | | | | | | | | 2f306a9 AllFindModules test: do not enforce GNUPLOT version
| * | AllFindModules test: do not enforce GNUPLOT versionRolf Eike Beer2012-02-131-1/+1
| | | | | | | | | | | | | | | Ancient Gnuplot versions like 3.7.1 don't know about "--version". Disable this check so it doesn't break on machines with this version.
* | | CMakeAddFortranSubdirectory: Add NO_EXTERNAL_INSTALL optionBrad King2012-02-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | We do not yet support "make install" in the external project case. Document this explicitly in the interface. Require the caller to use an option to "disable" the unsupported behavior. This will allow us to add the behavior by default in the future without clobbering existing projects that handle the installation themselves.
* | | CMakeAddFortranSubdirectory: Make IMPORTED targets GLOBALBill Hoffman2012-02-095-17/+17
| | | | | | | | | | | | | | | | | | | | | cmake_add_fortran_directory uses imported targets when using the mingw fortran compiler. This change makes those targets global in scope so they act just like the real targets that exist when a fortran compiler exists and regular add_subdirectory is used.
* | | VSGNUFortran: Disable test in special casesBill Hoffman2012-02-091-1/+18
| | | | | | | | | | | | | | | The ifort compiler found on some test machines does not support Mac universal binaries or the Linux Standard Base.
* | | VSGNUFortran: Add special case for SunPro Fortran runtime libraryBill Hoffman2012-02-091-1/+35
| | | | | | | | | | | | | | | | | | The SunPro compiler does not add the fortran runtime library when creating a shared fortran library. Link to the SunPro Fortran runtime libraries explicitly.
* | | CMakeAddFortranSubdirectory: Allow full paths to directoriesBrad King2012-02-091-10/+12
| | | | | | | | | | | | | | | | | | | | | Fix the implementation to allow full paths with spaces. Change the interpretation of relative paths to be with respect to the current binary directory. This matches the convention used in ExternalProject. Test both full and relative paths in the VSGNUFortran test.
* | | Add CMakeAddFortranSubdirectory to use MinGW gfortran in VSBill Hoffman2012-02-098-0/+105
| | | | | | | | | | | | | | | | | | | | | This patch adds a new module that allows for easy integration of MinGW gfortran and the Visual Studio compiler. It is done in a function called cmake_add_fortran_subdirectory. The patch also includes a test for this feature.
* | | Add CheckLanguage moduleBrad King2012-02-082-0/+24
|/ / | | | | | | | | | | Define a "check_language(<lang>)" macro to test whether <lang> can be enabled. Cache the result in CMAKE_<lang>_COMPILER. Add a test case covering expected results.
* | Merge topic 'remove-unused-test-code'David Cole2012-02-076-118/+29
|\ \ | | | | | | | | | | | | daa4101 Remove unused test code
| * | Remove unused test codeBrad King2012-02-036-118/+29
| | | | | | | | | | | | | | | We have not run tests with the "como" compiler or enabled the experimental ConvLibrary test for years.
* | | Merge topic 'lang-enable-order-issue-12929'David Cole2012-02-074-0/+16
|\ \ \ | | | | | | | | | | | | | | | | 7495845 Fix CXX/Fortran MODULE flags when enabled before C (#12929)
| * | | Fix CXX/Fortran MODULE flags when enabled before C (#12929)Brad King2012-02-034-0/+16
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CXX or Fortran is enabled before C then the values of CMAKE_SHARED_MODULE_C_FLAGS CMAKE_SHARED_MODULE_CREATE_C_FLAGS may not be available. On platforms where MODULE library (plugin) creation is the same as SHARED library creation initialize the MODULE creation flags from the SHARED creation flags of the matching language instead of assuming that C has been enabled first. Teach the COnly and CxxOnly tests to build MODULE libraries. The latter covers this specific case.
* | | Merge topic 'change-trilinos-submit-url'David Cole2012-02-071-0/+18
|\ \ \ | | | | | | | | | | | | | | | | bf2e385 Tests: Update drop site value for the Trilinos contract test
| * | | Tests: Update drop site value for the Trilinos contract testDavid Cole2012-02-031-0/+18
| |/ /
* | | Merge topic 'AllFindModules-test'David Cole2012-02-071-11/+40
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | ed1b126 CMakeOnly.AllFindModules: require version for some modules 2dee929 CMakeOnly.AllFindModules: suppress two modules from testing 3c4b4ff CMakeOnly.AllFindModules: always check FindQt 9d72b25 CMakeOnly.AllFindModules: clean up the Qt3/Qt4 code
| * | CMakeOnly.AllFindModules: require version for some modulesRolf Eike Beer2012-02-011-0/+22
| | |
| * | CMakeOnly.AllFindModules: suppress two modules from testingRolf Eike Beer2012-01-261-1/+6
| | | | | | | | | | | | | | | FindPackageHandleStandardArgs and FindPackageMessage match the glob expression but are nothing that will usually be fed into find_package().
| * | CMakeOnly.AllFindModules: always check FindQtRolf Eike Beer2012-01-261-2/+4
| | |
| * | CMakeOnly.AllFindModules: clean up the Qt3/Qt4 codeRolf Eike Beer2012-01-261-11/+11
| | |
* | | Merge topic 'check_cxx_compiler_flag_cmakeonly'David Cole2012-02-013-18/+2
|\ \ \ | | | | | | | | | | | | | | | | 8de3b3d CheckCXXCompilerFlag test: make it a CMakeOnly test
| * | | CheckCXXCompilerFlag test: make it a CMakeOnly testRolf Eike Beer2012-01-303-18/+2
| |/ /
* | | Add test covering imported target scope rulesBrad King2012-01-255-0/+36
|/ /
* | Merge topic 'uninitialized-var-in-if'David Cole2012-01-252-0/+10
|\ \ | | | | | | | | | | | | 54fd9e3 fix uninitialized var in if(NOT foo bar STREQUAL "foo bar")
| * | fix uninitialized var in if(NOT foo bar STREQUAL "foo bar")Rolf Eike Beer2012-01-222-0/+10
| |/ | | | | | | Also adds test to verify this.
* | Merge topic 'GetPrerequisites-rpath-OSX'David Cole2012-01-252-0/+82
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 98d2031 Fix BundleUtilities test failure with space in build path. 36d6641 Fix new BundleUtilities test failure on Mac 10.4.x 0d96dec GetPrerequisites: Add test for @rpath support. 880139a GetPrerequisites: Add support for @rpath on Mac OS X. 9a6b102 GetPrerequisites: Add support for @rpath on Mac OS X.
| * | Fix BundleUtilities test failure with space in build path.Clinton Stimpson2012-01-211-2/+2
| | |
| * | Fix new BundleUtilities test failure on Mac 10.4.xClinton Stimpson2012-01-201-1/+1
| | |
| * | GetPrerequisites: Add test for @rpath support.Clinton Stimpson2012-01-202-0/+82
| | |
* | | Merge topic 'loadcommand-test-cleanup'David Cole2012-01-253-15/+0
|\ \ \ | | | | | | | | | | | | | | | | 1531c11 LoadCommand test: cleanup
| * | | LoadCommand test: cleanupRolf Eike Beer2012-01-203-15/+0
| | |/ | |/| | | | | | | | | | | | | This removes some useless checking. The results of these things are never properly checked so they should not count as testcases. At the end they only needlessly clutter the output.
* | | Merge topic 'test_find_modules'David Cole2012-01-252-0/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8d83043 AllFindModules test: also check Qt3 modules if Qt4 is not found e797e7f AllFindModules test: keep complete output ec631d5 add a test that loops through most Find* modules
| * | | AllFindModules test: also check Qt3 modules if Qt4 is not foundRolf Eike Beer2012-01-181-2/+13
| | | |
| * | | AllFindModules test: keep complete outputRolf Eike Beer2012-01-171-0/+3
| | | |
| * | | add a test that loops through most Find* modulesRolf Eike Beer2012-01-162-0/+27
| | | | | | | | | | | | | | | | | | | | This allows easy spotting of modules that output crappy messages and the like.
* | | | GenerateExportHeader test: add newlines before end of fileRolf Eike Beer2012-01-176-6/+6
| |/ / |/| |
* | | Merge topic 'check_symbol_exists'David Cole2012-01-174-0/+123
|\ \ \ | |/ / | | | | | | | | | | | | | | | 6856b4d Merge topic 'link-shared-depend-cycle-issue-12647' into check_symbol_exists 8e1f376 add a test for Check{,CXX}SymbolExists 813eca6 CheckSymbolExists: force the compiler to keep the referenced symbol
| * | Merge topic 'link-shared-depend-cycle-issue-12647' into check_symbol_existsRolf Eike Beer2012-01-164-0/+32
| |\ \
| * | | add a test for Check{,CXX}SymbolExistsRolf Eike Beer2012-01-164-0/+123
| | | | | | | | | | | | | | | | | | | | Now that we think that CheckSymbolExists really works for all cases it is time to prove that. If this code fails too many other things will break.