summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FortranCInterface-VS'David Cole2011-09-201-19/+26
|\ | | | | | | | | | | | | | | | | 67fcc83 Simplify IntelVSImplicitPath detection project a7ce26d Move IntelVSImplicitPath project to better location 539a822 Enable Fortran tests for IDE builds. 555f589 For VS Intel Fortran IDE builds, add a check to find the Fortran library PATH. 71402eb FortranCInterface: Compile separate Fortran lib in VerifyC[XX]
| * Enable Fortran tests for IDE builds.Bill Hoffman2011-09-091-19/+26
| |
* | Tests: Add the more modern Mac64 nightly buildDavid Cole2011-09-141-0/+2
| | | | | | | | | | We can remove the older ppc;i386 non-64-bit Mac nightly build in a little while after this one proves itself reliable.
* | Merge topic 'add-kwstyle-test'David Cole2011-09-131-0/+13
|\ \ | | | | | | | | | | | | | | | 3a0d632 KWStyle Test: Activate by default if KWStyle is found 91704ef Tests: Add a KWStyle test, equivalent to the make StyleCheck target
| * | Tests: Add a KWStyle test, equivalent to the make StyleCheck targetDavid Cole2011-08-041-0/+13
| | |
* | | Tests: Look for "Illegal" or "SegFault" in the outputDavid Cole2011-09-061-1/+1
| |/ |/| | | | | | | | | | | One of the dashmacmini5 runs of this test results in an "Illegal exception" detected instead of a segfault. For the purposes of this test, we're going to say that either is a "crash."
* | Merge topic 'generate_export_header'David Cole2011-09-011-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a6393c Don't use a variable name that might be used in other files. 5ca8c56 Fix up verbatim code sections of the dox. 75596e6 Don't start a line with a dash(-) 826374a Remove blank line at the start of the file. 8b9b8e1 Add documentation about the prefix and no_deprecated options. 51bc63a Fix the feature of using a specific prefix for macros. 3449f6b Add quotes in case cmake is installed in a prefix with a space. 36d28f2 Fix Compiler id variable name. 99b2aab Disable the tests for Watcom. 7ac0ab1 Quote paths in case there is a space in one of them. 89108b9 Look for errors reported by PGI too. e0cc024 Add missing NO_EXPORT macro variant. 1b031d1 More consistency in the macro options. 03d60c7 Try to make the macros do almost nothing for Watcom. 6adeda9 Possibly fix configuration test on AIX. e253348 Possibly fix test on HPUX. 32eff0c Test for too-old-intel compilers. 42154ec Fix up the regex command for Intel. a147a06 Add some settings for non-truncation of test output. bf73e75 Hopefully add version extraction for Intel. aa4f0b6 Fix the version extraction regex for clang. a493d1a Test the correct cxx variable. b6ee2ee Comment the test assertion for now a9a8b9e Exclude win32 from hidden visibility checks. afae7a9 Start testing expected values for compiler flags. 1ae3365 Exclude PGI from exports and deprecated. f426496 Exclude cygwin from the hidden visibility feature. f84c7db Don't enable deprecated on old GCC 9672b33 Don't enable deprecated on HP. 10d8c44 Disable testing of deprecated macros. 97392a7d Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8 2aeab4f Borland can't do deprecated. c41c68b Try to error on deprecated on Intel and SunCC. aed8451 Test for deprecated attribute before declspec. c448b09 Perform the -Werror test only once. fb88c6e Add some messaging output to make remaining issues findable. 01e9e98 Test -Werror instead of enabling it per compiler. 9aab2aa Expect the tests to pass if hidden visibilty is not enabled. 856bdb3 Don't change the expected build result based on the platform. df4615e Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant 78a6e1c Exclude the XL compiler from the hidden-visibility test. e1f7ee3 Test for compiler features, instead of for specific platforms. 9554e10 Split the deprecated available check from setting macro values. 1590d5f Don't export methods on already exported classes. 750b67c Don't use hidden visibility on non-mingw windows either. 1f3be45 Make sure the hidden visibility variables never get set on MINGW. 399f415 Only set the deprecated attribute if hidden visibilty is enabled. 1c6b41b Remember to surround the other deprecated test in the Borland check. 3f7e036 Export deprecated free methods too. 7fa5592 Add some debug output to narrow down deprecation test issues 7924c1d Another attempt at fixing Borland. 50460ea Fix off-by-not in test for Borland. b443459 Use the correct project name compiletest not compilefail fc3772e Another attempt to fix the tests on Borland. bab4a22 Disable all export macros on Borland. cff9493 Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2 af443b8 Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds. 61726f8 Only run the failure tests with gcc >= 4.2 002ddf2 Fix typo and tests failing as a result. 4443037 Fix tests with clang. ffaa127 Test expected no-op instead of aborting the build. 6aca0e2 Short-circuit the tests on unsupported compilers. d123bce Add some debug output. 3574b75 Simplify the compiler feature check c7a937b Simplify. We already know we have hidden visibility at this point. 3b188c8 Test for features, not specific compilers. 4718233 Remove the fatal_warnings option which is no longer used. b19911e Add missing licence header. 706ed2b Add a newline at the end of the file. 8963716 Add a newline at the end of the file. def0a54 Handle the case where the user changes the DEFINE_SYMBOL property. 3088070 Add the GenerateExportMacro with unit tests.
| * | Start testing expected values for compiler flags.Stephen Kelly2011-08-171-0/+2
| | | | | | | | | | | | | | | Should help catch unhandled flag warnings so far not handled by check_cxx_compiler_flag FAIL_REGEXen.
| * | Add the GenerateExportMacro with unit tests.Stephen Kelly2011-08-071-0/+2
| |/ | | | | | | Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>
* | Merge topic 'UsingCMakeLikePkgConfig2'David Cole2011-08-251-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59238dc Fix --find-package mode on Cygwin, where enable_language(RC) is called 98472e4 Require the current cmake version in --find-package mode a6ccf3c Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile 4386918 Fix line length 7d69310 Only enable the test when using GNU make 3011149 Make the test harder by always having a space in the include dirs ab57ff6 Make the --find-package test harder 626fc71 Much improved test, should now be executed on all UNIXes ec6982d Disable any STATUS output in --find-package mode e552ae7 Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode e589589 Rename helper macros print_compile_flags() to set_compile_flags_var() aecfc1f Fix test on OpenBSD with BSD make 6bb4ca3 The makefile for the test was kindof wrong fd15b5e Only run the test if we are using a makefile generator under UNIX 9fc87c6 Add a test for the new --find-package mode d3ae0ff Improve documentation for --find-package mode bf07375 Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig b0e3578 Use the file-utility to test for 64bit if there is no /usr/lib64 53edfb2 Better support for lib64 and Debian multiarch b8fdaa1 Fix copyright notice in new CMakeFindPackageMode.cmake 7690edf Replace cmake::GetScriptMode() with GetWorkingMode() e4f603b Implement find-package mode of cmake a91d662 Add find-package mode, which does nothing yet b976e70 Make clLocalGenerator::GetTargetFlags() public
| * | Add a test for the new --find-package modeAlex Neundorf2011-08-111-0/+2
| | | | | | | | | | | | Alex
* | | Merge topic 'AutomocForQt'David Cole2011-08-251-0/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 920a046 QtAutomoc: Eliminate compiler warning b00463f QtAutomoc test: Pass QT_QMAKE_EXECUTABLE e78ce44 Fix automoc with VS builds: apply patch from Bill 71165e9 Silence warning in automoc: use long instead of int 1879bcc Fix build: use std::ios::out|ios::trunc instead of std::ios_base::out 678e124 Only enable the automoc test after checking that Qt4 works 71c29d1 Fix bootstrap test with automoc afb3edc Fix warnings add30e9 Fix build: non-void function must return a value 7e6d845 Automoc.cmake is not needed anymore 2963d0b Fix logic which decides when to execute automoc test 77a5c6e Add documentation for AUTOMOC, add initialization via CMAKE_AUTOMOC bf8ef77 Add a test for automoc d045fd4 Nicer progress message for the automoc target 50cd6ce Move automoc processing from add_executable/library to cmGlobalGenerator cbaac2a Remove trailing whitespace c27607b Refactor SetupAutomocTarget() so it can be run after creating the target 24d9b7d Remove trailing whitespace 58b7fe6 Use cout instead of printf() 72caf4d Add the generated automoc.cpp file to the cleaned files ddb517d Color output when running moc 9303295 Initialize verbose based onb the env.var. ace1215 Move code for parsing a cpp-file from the big loop to separate function 735a5bb Fix line lengths 83b730c Add AUTOMOC to the add_library() command 126c6ea Add the cmake module required currently for automoc de91feb Remove the need to check for .h/.cxx during buildtime d65689a Add actual automoc code from automoc d1c0a5f Start implementing skeleton for automoc in cmake a65011b Start work on automoc: add empty cmQtAutomoc class
| * | | QtAutomoc test: Pass QT_QMAKE_EXECUTABLEDavid Cole2011-08-191-0/+1
| | | | | | | | | | | | | | | | ...in case qmake is not in the PATH
| * | | Only enable the automoc test after checking that Qt4 worksAlex Neundorf2011-08-171-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some systems which contribute nightly builds there were strange errors which seemed to hint that the installed Qt4 is not usable/ not usable with this compiler. So first check whether it works, and only if this was successful, enable the test. Alex
| * | | Fix logic which decides when to execute automoc testAlex Neundorf2011-08-161-14/+15
| | | | | | | | | | | | | | | | Alex
| * | | Add a test for automocAlex Neundorf2011-08-161-0/+18
| | |/ | |/| | | | | | | | | | | | | | | | The files are taken from the Qt examples. They are BSD licensed, so it should be fine. I only edited main.cpp to use both widgets. Alex
* | | Merge topic 'intel_fortran_vs2010'David Cole2011-08-161-1/+5
|\ \ \ | |/ / |/| | | | | | | | 3c53fbb Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test.
| * | Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test.Bill Hoffman2011-08-031-1/+5
| |/ | | | | | | | | | | | | | | | | For custom commands in VS2010 Fortran projects the INTDIR variable is different than in the rest of the solution because Intel fortran still uses the old VS project files even in VS2010. So, we replace $(Configuration) directly in the project files. I have also added a FortranOnly test that tests this feature and is run on any generator that has Fortran abilities.
* | Merge topic 'asn_java_support'Brad King2011-07-261-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 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
| |
* | 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-071-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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-311-1/+0
| | |
| * | BundleUtilities: Work w/ non .app exes on Mac (#12034)Clinton Stimpson2011-05-271-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix for bug#10798. VS10 did not append -I flags with COMPILE_FLAGS prop.Bill Hoffman2011-06-021-0/+12
|/ / | | | | | | This fix adds a test for this case for all generators.
* | Fix CompileCommandOutput test for Make tools not supporting spacesBrad King2011-05-191-0/+3
| | | | | | | | Use underscores instead of spaces for such Make tools.
* | Only offer the compile command output feature on unix systemsManuel Klimek2011-05-161-2/+8
| |
* | Adds a test for the compile command line output.Manuel Klimek2011-04-251-0/+3
| |
* | Merge topic 'drag-n-drop-components'Brad King2011-04-051-0/+3
|\ \ | | | | | | | | | | | | | | | dd04608 Fix KWStyle warnings 2973c1f Add component support to DragNDrop generator.
| * | Add component support to DragNDrop generator.Clinton Stimpson2011-03-311-0/+3
| | |
* | | Merge topic 'upload-built-files'Brad King2011-04-051-0/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | 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
| * | Implement ctest_upload commandZach Mullen2011-03-151-0/+10
| | |
* | | Merge topic 'cleanup-unused-variable-check'Brad King2011-03-311-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | a4335a6 Fix unused cache warning after multiple configure iterations a75ebe3 Refine unused cache variable warning
| * | | Refine unused cache variable warningBrad King2011-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | List all unused variables in one warning. Cleanup implementation to run the check exactly once at the end of generation.
* | | | CPack fix #11930 and simplifies component packaging optionsEric NOULARD2011-03-231-1/+0
| |_|/ |/| |
* | | Disable Java test with Xcode generatorBrad King2011-03-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | The parent commit 46c0a583 (Enable Java test more carefully on Apple, 2011-03-18) failed to restore the exclusion of Xcode when enabling the Java test that was originally removed by commit c8f39193 (Avoid problem reading jni.h on Macs, 2010-10-25). The Xcode generator does not work with the current Java support at all.
* | | Enable Java test more carefully on AppleBrad King2011-03-181-33/+23
| |/ |/| | | | | | | | | | | | | | | The CTEST_RUN_Java option added by commit c8f39193 (Avoid problem reading jni.h on Macs, 2010-10-25) was a quick hack to disable the Java test on Mac machines after an update from Apple created a broken jni.h symlink. Remove the option and instead test whether jni.h exists as a readable file before reading it. This restores the original Java test enabling logic but makes it robust to the broken symlink.
* | CPackDeb add Component Support to DEB generator fix #0011655M. Konrad2011-03-111-0/+6
| | | | | | | | | | Contribution by Martin Konrad Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | Merge topic 'CPackRPM-enableCPackTests'Brad King2011-03-081-0/+6
|\ \ | | | | | | | | | | | | | | | dc9965f CPackRPM do not run test if build dir contains space e4d4dfc CPackRPM activate CPackRPM test on Linux systems where rpmbuild is found
| * | CPackRPM do not run test if build dir contains spaceEric NOULARD2011-03-041-2/+2
| | |
| * | CPackRPM activate CPackRPM test on Linux systems where rpmbuild is foundEric NOULARD2011-03-031-0/+6
| | |
* | | Test static linking with LINK_SEARCH_START_STATICBrad King2011-03-041-0/+16
|/ / | | | | | | | | | | | | Add "LinkStatic" test that links a static executable against "libm.a". Pass both "/usr/lib/libm.a" and "-lm" to target_link_libraries to trigger the link type logic for both cases. If CMake incorrectly switches the link type to shared for "-lm" then the link will fail.
* | Merge topic 'mingw-module-definition'Brad King2011-02-221-1/+4
|\ \ | | | | | | | | | | | | 6a61a8a Honor module .def files with MinGW tools (#9997)
| * | Honor module .def files with MinGW tools (#9997)Brad King2011-02-211-1/+4
| |/ | | | | | | | | | | | | | | | | Since commit 024d05ad (Fix use of module .def files for MS tools, 2009-09-29) module .def files work for any platform that sets CMAKE_LINK_DEF_FILE_FLAG correctly. Set it in the Windows-GNU platform information file to enable support with MinGW tools. Also enable the test added by commit 0db2c850 (Test use of module .def files for MS tools, 2009-09-29) for MinGW and MSYS generators.
* | Merge topic 'fix-11295-support-plugin-bundles-on-mac'Brad King2011-02-221-0/+15
|\ \ | | | | | | | | | | | | | | | cabc407 CFBundle Test: Add PATHS for finding Rez (#11295) 5457b82 Add support for CFBundle targets on the Mac (#11295)
| * | Add support for CFBundle targets on the Mac (#11295)Richard Bateman2011-01-111-0/+15
| | | | | | | | | | | | | | | This commit enables building, for example, plugin bundles to be loaded by web browsers.