summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Make the test harder by always having a space in the include dirsAlex Neundorf2011-08-171-0/+1
| | | | | | | | | | | | The commit message for the previous commit was wrong, it should have been: fix the test by using $(shell ...) syntax instead of backticks in the Makefile. With backticks I couldn't get the quoting right. Printing -I"/some/path with space" did not work, the compiler complained that there is not file "with". Also backslashes in different numbers did not make it work. Alex
* Make the --find-package test harderAlex Neundorf2011-08-171-2/+2
| | | | | | | Now it is guaranteed that the include paths always contain a space. This should make the cont. build fail. Alex
* Much improved test, should now be executed on all UNIXesAlex Neundorf2011-08-166-17/+33
| | | | | | | | Instead of relying on that some development package is installed on the system, now a tiny library is built, which is the searched and used during the test. Alex
* Fix test on OpenBSD with BSD makeAlex Neundorf2011-08-151-1/+1
| | | | | | | | BSD make doesn't seem to support -C, so do not use it, According to the documentation the working directory is set to CMAKE_CURRENT_BINARY_DIR anyway, so it should work just the same. Alex
* The makefile for the test was kindof wrongAlex Neundorf2011-08-141-1/+3
| | | | Alex
* Only run the test if we are using a makefile generator under UNIXAlex Neundorf2011-08-111-1/+1
| | | | Alex
* Add a test for the new --find-package modeAlex Neundorf2011-08-114-0/+40
| | | | Alex
* Merge topic 'library-multiarch-issue-12037'Brad King2011-06-147-0/+31
|\ | | | | | | | | | | | | 1ed19bc multiarch: Set CMAKE_LIBRARY_ARCHITECTURE_REGEX for Linux|Hurd|kFreeBSD 52a6ed2 Test find_package multiarch support (#12037) b41ad3b Teach find_(library|package) about Linux multiarch (#12037)
| * Test find_package multiarch support (#12037)Brad King2011-06-087-0/+31
| |
* | CTest: Report tests not run due to unknown configurationBrad King2011-06-101-1/+1
|/ | | | | | | | | | | | | When add_test(NAME) is called without the CONFIGURATIONS argument then the test is intended to run in any configuration. In multi-config generators like the VS IDE and Xcode tests created by add_test(NAME) can only be run when testing a known configuration (otherwise there is no way to generate the test command line). If no test command line is known for a particular configuration, or if no configuration is given to ctest, report the test as not run instead of silently skipping it. Also fix CMake's own TestsWorkingDirectory test invocation to correct a previously silent failure exposed by this change.
* Merge topic 'fix-12034-fixup-bundle-with-non-dotapp-exe'Brad King2011-06-0713-0/+305
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 51e16c0 BundleUtilities: Avoid test on Watcom dashboards (#12034) 41f962a Revert "BundleUtilities: Run test on Windows if either MSVC or dumpbin was found." e17135e BundleUtilities: Add rpath to loadable modules in test. 8064044 BundleUtilities: Print reason for not loading module.so f3de459 BundleUtilities: Run test on Windows if either MSVC or dumpbin was found. 900bf98 BundleUtilities: Disable running test on Windows unless using MSVC. fa4dc08 BundleUtilities: Fix issues with custom target DEPENDS in test (#12034) e40b79e BundleUtilities: Fix test when using xcode (#12034) b68d3dc BundleUtilities: Fix regex to extract dependents from ldd (#12034) 7ac7b43 BundleUtilities: Work w/ non .app exes on Mac (#12034)
| * BundleUtilities: Avoid test on Watcom dashboards (#12034)David Cole2011-06-041-3/+3
| |
| * Revert "BundleUtilities: Run test on Windows if either MSVC or dumpbin was ↵Clinton Stimpson2011-06-021-4/+2
| | | | | | | | | | | | | | | | found." This reverts commit f3de459cec78eac3a7081379b6ee9c6cde36bb60. There are some platforms without MSVC where this test doesn't work well. We can look into these later.
| * BundleUtilities: Add rpath to loadable modules in test.Clinton Stimpson2011-06-023-25/+70
| |
| * BundleUtilities: Print reason for not loading module.soClinton Stimpson2011-06-011-3/+7
| |
| * BundleUtilities: Run test on Windows if either MSVC or dumpbin was found.Clinton Stimpson2011-06-011-2/+4
| |
| * BundleUtilities: Disable running test on Windows unless using MSVC.Clinton Stimpson2011-06-011-3/+3
| |
| * BundleUtilities: Fix issues with custom target DEPENDS in test (#12034)Clinton Stimpson2011-05-314-3/+11
| |
| * BundleUtilities: Fix test when using xcode (#12034)Clinton Stimpson2011-05-311-1/+1
| |
| * BundleUtilities: Work w/ non .app exes on Mac (#12034)Clinton Stimpson2011-05-2712-0/+248
| | | | | | | | | | | | | | | | | | | | | | | | Also add a test of BundleUtilities including an exe, some shared libs, a plugin, and a framework-style lib. This test presently runs (and this functionality works) on Linux, Mac and Windows. For now, the framework-style lib is built as a plain old shared lib because there is another yet-unresolved issue with local frameworks without rpaths on the Mac.
* | Merge topic 'vs10_include_fix'Brad King2011-06-073-0/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | 27aa446 One more try. Use full path by default, and relative on broken compilers. 2dfc121 Use bin tree for inclues to avoid -I with spaces in the path. 6d29b4b Append and do not clobber CMAKE_CXX_FLAGS in the test. 7815e90 Fix for bug#10798. VS10 did not append -I flags with COMPILE_FLAGS prop.
| * | One more try. Use full path by default, and relative on broken compilers.Bill Hoffman2011-06-031-5/+29
| | |
| * | Use bin tree for inclues to avoid -I with spaces in the path.Bill Hoffman2011-06-035-8/+17
| | |
| * | Append and do not clobber CMAKE_CXX_FLAGS in the test.Bill Hoffman2011-06-031-1/+1
| | |
| * | Fix for bug#10798. VS10 did not append -I flags with COMPILE_FLAGS prop.Bill Hoffman2011-06-027-0/+35
| |/ | | | | | | This fix adds a test for this case for all generators.
* | Fix XCode -> Xcode typos, notably in man page (#12231)Sean McBride2011-05-316-8/+8
|/
* Merge topic 'output-compile-lines'Brad King2011-05-2410-0/+202
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cdc2b41 Fix CompileCommandOutput test build on Windows 7039d1f Fix CompileCommandOutput test for Make tools not supporting spaces 4268e3d run_compile_commands: Cast istream::get() result to char c45c60b run_compile_commands: Avoid extra stl vector conversion 7c5be51 run_compile_commands: Avoid shadow in std::map<>::at workaround 169bb05 Provide std::map<>::at for use in run_compile_commands 4e2185c Make std::map usage more portable in language=>flags/defines maps a7e7a04 Fix run_compile_commands build on Apple GCC 3.3 c9174c0 Fix signed/unsigned comparison in EscapeJSON 8346a28 Only offer the compile command output feature on unix systems 0e6b05f Adds a test for the compile command line output. 5674844 make compile command output optional fe07b05 implement cxx command output 65c0c24 cache flags and defines 3f064ef refactor flags and defines
| * Fix CompileCommandOutput test build on WindowsBrad King2011-05-201-1/+11
| | | | | | | | Add dllexport markup for the shared library.
| * Fix CompileCommandOutput test for Make tools not supporting spacesBrad King2011-05-197-7/+16
| | | | | | | | Use underscores instead of spaces for such Make tools.
| * run_compile_commands: Cast istream::get() result to charBrad King2011-05-191-1/+1
| | | | | | | | | | We perform error checking on the stream after reading so this conversion is safe.
| * run_compile_commands: Avoid extra stl vector conversionBrad King2011-05-181-3/+2
| | | | | | | | | | | | | | The Sun compiler does not provide the proper vector constructor to initialize it from an iterator pair of a non-matching type. Extend the ParseUnixCommandLine API to provide a vector of the proper type so no conversion is needed.
| * run_compile_commands: Avoid shadow in std::map<>::at workaroundBrad King2011-05-171-2/+2
| | | | | | | | | | The map has a member called "empty" so use a different name for the local variable in our approximate at() method.
| * Provide std::map<>::at for use in run_compile_commandsBrad King2011-05-171-2/+0
| | | | | | | | | | | | Many compilers we support do not provide the at() member of std::map. Use the workaround added by commit a7e7a04a (Fix run_compile_commands build on Apple GCC 3.3, 2011-05-16) for all compilers.
| * Fix run_compile_commands build on Apple GCC 3.3Brad King2011-05-161-1/+13
| | | | | | | | | | This compiler does not provide the "at" method of std::map. Approximate it well enough for our needs.
| * Only offer the compile command output feature on unix systemsManuel Klimek2011-05-162-4/+12
| |
| * Adds a test for the compile command line output.Manuel Klimek2011-04-259-0/+166
| |
* | Merge topic 'absoft-fortran-compiler'Brad King2011-05-242-1/+19
|\ \ | |/ |/| | | | | | | | | 8bd3e51 Absoft: Enable FortranCInterface check in Fortran test d7b376b Absoft: Detect implicit link libraries on Linux and Mac ac5b999 Add Absoft Fortran compiler id and basic flags
| * Absoft: Enable FortranCInterface check in Fortran testBrad King2011-05-201-1/+4
| | | | | | | | | | Exclude module symbol mangling because Absoft mangles with ".in." so the symbols cannot be referenced from C.
| * Absoft: Detect implicit link libraries on Linux and MacBrad King2011-05-201-0/+15
| | | | | | | | | | | | | | | | Use the "-X -v" flag to the Absoft front-end to pass "-v" to the gcc it invokes under the hood. Teach CMakeParseImplicitLinkInfo to exclude linker version lines from consideration as link lines. Fix parsing of Sun's linker search path option "-Y..." to avoid conflict with the Mac linker option "-Y<num>".
* | Merge topic 'find_package-system-registry'Brad King2011-04-192-0/+42
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08b9397 find_package: Fix system package registry test path conversion 93021ad find_package: Test system package registry when possible b95f3ca find_package: Check both 32-bit and 64-bit registry views a0d76c1 find_package: Search a "system package registry" 549458f find_package: Document user package registry locations c9563db find_package: Cleanup user package registry less aggressively 4df1197 find_package: Rename implementation of user package registry
| * | find_package: Fix system package registry test path conversionBrad King2011-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | Do not use file(TO_NATIVE_PATH) to compute the value to store in the registry. It is meant for constructing values to be put in shells. Since find_package() can use the value with CMake-normalized slashes do not bother with any conversion.
| * | find_package: Test system package registry when possibleBrad King2011-04-132-0/+42
| | | | | | | | | | | | | | | | | | Teach the FindPackagTest to try creating the appropriate HKLM system package registry value. If it works then add a test to verify that find_package() reads it as expected. Then delete the value to cleanup.
* | | Merge topic 'add-svn-trust-cert-to-ExternalProject'Brad King2011-04-191-0/+3
|\ \ \ | |/ / |/| | | | | | | | | | | 12a3699 ExternalProject: Always use --non-interactive with svn 3a5a402 ExternalProject: Add SVN_TRUST_CERT argument
| * | ExternalProject: Add SVN_TRUST_CERT argumentDavid Cole2011-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Which adds --non-interactive and --trust-server-cert to the svn checkout and update command lines. This allows ExternalProject clients to pull from an https:// based svn server even though the server may not have a valid or trusted certificate. Caveat emptor: I would NOT recommend using this except as a short-term work-around. Rather, the server should have a valid, trusted certificate, or the client should be using "http" instead of "https".
* | | find_package: Forward component list for recursive calls in modulesBrad King2011-04-072-1/+4
|/ / | | | | | | | | | | | | | | | | Some find modules call find_package recursively to locate a package configuration file for the package instead of searching for individual pieces. Commit 79e9b755 (Help recursive find_package calls in modules, 2008-10-03) taught find_package to forward the version number and EXACT arguments through the recursive call automatically. Do the same for the component list.
* | Merge topic 'drag-n-drop-components'Brad King2011-04-053-1/+21
|\ \ | | | | | | | | | | | | | | | dd04608 Fix KWStyle warnings 2973c1f Add component support to DragNDrop generator.
| * | Add component support to DragNDrop generator.Clinton Stimpson2011-03-313-1/+21
| | |
* | | Merge topic 'fix_vs10_object_files'Brad King2011-04-051-0/+6
|\ \ \ | | | | | | | | | | | | | | | | 9a6ff95 Fix for bug where VS2010 did not use .obj files as part of the build.
| * | | Fix for bug where VS2010 did not use .obj files as part of the build.Bill Hoffman2011-04-011-0/+6
| |/ / | | | | | | | | | | | | | | | | | | For VS2010 if a precompiled .obj file was the output of a custom commad, it was used as part of the build. If it was not, then VS did not use it as part of the build. This commit updates the test to check for this issue, and fixes the problem. This fixes bugs #0011891 and
* | | Merge topic 'upload-built-files'Brad King2011-04-055-0/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e32db7 cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILES 6b6f309 Add the FILES keyword to ctest_upload command 28cdd0a Don't tar/gz ctest_upload() files fbe4356 Change 'Files' tag to 'Upload' in Upload.xml 350546d Implement ctest_upload command