summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'adjust-path-for-all-generators-test'David Cole2011-08-021-0/+22
|\ | | | | | | | | 0baf565 Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators
| * Ensure libgmp-10.dll is in the PATH for CMakeTestAllGeneratorsDavid Cole2011-07-291-0/+22
| | | | | | | | | | | | | | | | But only if it exists at the default location: C:/MinGW/bin/libgmp-10.dll This is so that the pop-up dialog about not being able to load that dll does not hang the test when there's nobody watching.
* | Merge topic 'fix-updategit-test'David Cole2011-08-021-3/+5
|\ \ | | | | | | | | | | | | 0375865 Fix machine-specific UpdateGIT test failures
| * | Fix machine-specific UpdateGIT test failuresDavid Cole2011-07-291-3/+5
| |/ | | | | | | | | | | Generated Update.xml file is larger than the previously hard-coded limit of 4096. Introduce variable max_update_xml_size and bump it up to 16k for reliable test runs.
* | Add support for Visual Studio project-specific globals (#8707)David Cole2011-07-291-1/+4
|/ | | | | | | | | | | Thanks to Pau Garcia i Quiles for the inspiration for the patch. I've tweaked it a bit compared to what's in the bug tracker: this commit does not allow empty global variable names. I also added usage of the new feature to an existing test. Although it has no effect on the resulting Visual Studio projects, you can verify that the VSResource test produces a non-empty globals section in the generated .vcproj(x) files.
* Merge topic 'fix-tests-failing-with-Xcode4'Brad King2011-07-262-4/+63
|\ | | | | | | | | | | | | | | 1a53fb7 Use correct default multiple architecture values in test 5f7acc8 Base architecture choice logic on Xcode version c050c59 Fix BuildDepends test to work with Xcode 4 923b030 Fix Architecture test to work with Xcode 4
| * Use correct default multiple architecture values in testDavid Cole2011-07-191-9/+10
| | | | | | | | Even if CMAKE_OSX_ARCHITECTURES value is a single value...
| * Base architecture choice logic on Xcode versionDavid Cole2011-07-182-7/+37
| | | | | | | | Not on Darwin version.
| * Fix BuildDepends test to work with Xcode 4David Cole2011-07-151-0/+5
| | | | | | | | | | | | ppc tools are no longer available in the Xcode 4 installation. Eliminate the use of the hard-coded 'ppc' in the test when running on Snow Leopard or later.
| * Fix Architecture test to work with Xcode 4David Cole2011-07-151-4/+27
| | | | | | | | | | | | ppc tools are no longer available in the Xcode 4 installation. Eliminate the use of the hard-coded 'ppc' in the test when running on Snow Leopard or later.
* | Merge topic 'SetPropertyAppendString'Brad King2011-07-261-0/+18
|\ \ | | | | | | | | | | | | 9dbba1b Fix #12342: Add APPEND_STRING option to set_property()
| * | Fix #12342: Add APPEND_STRING option to set_property()Alex Neundorf2011-07-151-0/+18
| |/ | | | | | | | | | | | | | | | | set_property() has APPEND, which creates a list. E.g. when appending to COMPILE_FLAGS a string is needed, not a list. With the APPEND_STRING option the value is append as string, not as list. Alex
* | Merge topic 'PushCheckState'Brad King2011-07-262-0/+31
|\ \ | | | | | | | | | | | | | | | d64ba0b Fix copyright notice test 1325260 Add macros cmake_push/pop_check_state() as discussed on the list.
| * | Add macros cmake_push/pop_check_state() as discussed on the list.Alex Neundorf2011-07-072-0/+31
| |/ | | | | | | | | | | | | | | This patch adds two macros cmake_push_check_state() and cmake_pop_check_state(), which can be used to save and restore the contents of the CMAKE_REQUIRED_xxx variables. Alex
* | Merge topic 'DisableSwitchForFindPackage'Brad King2011-07-262-1/+5
|\ \ | | | | | | | | | | | | | | | | | | 4a50b5f Add a basic test for CMAKE_DISABLE_FIND_PACKAGE_<package> a66df08 Add documentation for the CMAKE_DISABLE_FIND_PACKAGE_<Name> switch 6e1d3ed Add a switch to disable a find_package() call completely
| * | Add a basic test for CMAKE_DISABLE_FIND_PACKAGE_<package>Alex Neundorf2011-06-232-1/+5
| |/ | | | | | | Alex
* | Merge topic 'asn_java_support'Brad King2011-07-262-41/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 1417a55 Java: Fix documentation format and indentation 0b7627d Java: Use set_property/get_property for target variables. b01a505 Java: Create correct jar archive dependencies. f99c312 Java: Added some dependency magic to avoid recompilations. f3233ba Java: Create java_class_filelist only if it does't exist. a22ed3d Tests: Check for the new Java exeutable variables. c177c8e Tests: Java tests should test UseJava.cmake 5c2106c Modules: Added CMake Java support. a4b6275 FindJava: Find missing java development executables.
| * Tests: Check for the new Java exeutable variables.Andreas Schneider2011-03-291-2/+2
| |
| * Tests: Java tests should test UseJava.cmakeAndreas Schneider2011-03-291-39/+6
| |
* | 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.