summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* automoc:run moc on the header if the source file contains include "foo.moc"Alex Neundorf2011-10-224-1/+46
| | | | | | | | | | This fixes #12533. Before automoc did not check the header if the source file contained a statement, now it does. Additionally, moc is now only run on explicitely listed headers which contain a Q_OBJECT macro. Alex
* Silence make on OpenBSD in FindPackageModeTest(#12508)Alex Neundorf2011-10-121-0/+1
| | | | | | | | | | BSD make doesn't use -v for printing its name and version, and so complains on stderr that this is a bad command line option, used in Tests/FindPackageModeMakefileTest/CMakeLists.txt . Silence stderr to make that ugly output go away. Patch by David Coppy. Alex
* Build each library only once instead of once for each test.Stephen Kelly2011-10-094-5/+58
|
* Remove unused define.Stephen Kelly2011-10-091-8/+0
|
* Teach our tests about special cases for VS 11Brad King2011-09-233-3/+10
| | | | | | Teach the CheckCompilerRelatedVariables test to verify MSVC11. Update the special cases already in the Preprocess and VSExternalInclude tests for VS 10 to work for VS 11 too.
* 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 'effective-platform-name'David Cole2011-09-1312-0/+1345
|\ \ | | | | | | | | | | | | | | | 64c9b31 Xcode: Add test to demonstrate iOS project in Xcode 59a2265 Xcode: Use EFFECTIVE_PLATFORM_NAME reference in ComputeOutputDir
| * | Xcode: Add test to demonstrate iOS project in XcodeDavid Cole2011-09-1212-0/+1345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presently, this test is only run manually because not all machines have an iOS SDK, complications associated with certificates and code signing, having a device attached, ... If you're setup to do iOS dev work, you can easily run this test manually on your Mac using the Xcode generator and run the result in the simulator or on your attached device.
* | | 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
| | | |
* | | | Merge topic 'fix-ctesttestcrash-test'David Cole2011-09-071-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 339a321 Tests: Look for "Illegal" or "SegFault" in the output
| * | | | 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-0710-0/+114
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | dbd776d Don't put what some compilers consider junk at the end of the line. 93d8d19 Add some more unit tests.
| * | | | Add some more unit tests.Stephen Kelly2011-09-0210-0/+114
| |/ / /
* | | | Merge topic 'fortran-format'David Cole2011-09-073-5/+9
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 90efed6 Xcode: Honor Fortran_FORMAT target and source file property 5c0c635 Fortran: Add support for free- and fixed-form flags 47a0c75 VS: Map Fortran free- and fixed-format flags to IDE options d6e2a06 VS: Map per-source Fortran flags to IDE options
| * | | Fortran: Add support for free- and fixed-form flagsBrad King2011-08-313-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Define a "Fortran_FORMAT" target and source file property. Initialize the target property from a "CMAKE_Fortran_FORMAT" variable. Interpret values "FIXED" and "FREE" to indicate the source file format. Append corresponding flags to the compiler command line.
* | | | Merge topic 'generate_export_header'David Cole2011-09-0120-0/+915
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Fix Compiler id variable name.Stephen Kelly2011-08-241-1/+1
| | | |
| * | | Disable the tests for Watcom.Stephen Kelly2011-08-241-0/+15
| | | | | | | | | | | | | | | | They are timing out and showing up on the dashboard.
| * | | Quote paths in case there is a space in one of them.Stephen Kelly2011-08-241-3/+3
| | | |
| * | | Possibly fix test on HPUX.Stephen Kelly2011-08-231-1/+1
| | | |
| * | | Fix up the regex command for Intel.Stephen Kelly2011-08-181-1/+1
| | | |
| * | | Add some settings for non-truncation of test output.Stephen Kelly2011-08-171-0/+3
| | | |
| * | | Hopefully add version extraction for Intel.Stephen Kelly2011-08-171-0/+6
| | | |
| * | | Fix the version extraction regex for clang.Stephen Kelly2011-08-171-1/+1
| | | |
| * | | Test the correct cxx variable.Stephen Kelly2011-08-171-1/+1
| | | |
| * | | Comment the test assertion for nowStephen Kelly2011-08-171-1/+1
| | | | | | | | | | | | | | | | At least until I know which gcc versions do not pass.
| * | | Exclude win32 from hidden visibility checks.Stephen Kelly2011-08-171-1/+3
| | | |
| * | | Start testing expected values for compiler flags.Stephen Kelly2011-08-172-0/+65
| | | | | | | | | | | | | | | | | | | | Should help catch unhandled flag warnings so far not handled by check_cxx_compiler_flag FAIL_REGEXen.
| * | | Disable testing of deprecated macros.Stephen Kelly2011-08-143-19/+19
| | | | | | | | | | | | | | | | | | | | It is not possible to test for it sanely across multiple ancient compilers supported by cmake.
| * | | Try to error on deprecated on Intel and SunCC.Stephen Kelly2011-08-131-7/+23
| | | |
| * | | Perform the -Werror test only once.Stephen Kelly2011-08-131-3/+6
| | | | | | | | | | | | | | | | This way, the output of the test should be visible on CDash.
| * | | Add some messaging output to make remaining issues findable.Stephen Kelly2011-08-121-0/+4
| | | |
| * | | Test -Werror instead of enabling it per compiler.Stephen Kelly2011-08-121-1/+3
| | | | | | | | | | | | | | | | Maybe the Intel compiler supports it too.
| * | | Expect the tests to pass if hidden visibilty is not enabled.Stephen Kelly2011-08-122-9/+27
| | | |
| * | | Don't change the expected build result based on the platform.Stephen Kelly2011-08-111-5/+1
| | | | | | | | | | | | | | | | Hopefully the compiler feature tests will cover those cases.
| * | | Test for compiler features, instead of for specific platforms.Stephen Kelly2011-08-111-2/+2
| | | |
| * | | Split the deprecated available check from setting macro values.Stephen Kelly2011-08-113-3/+3
| | | |
| * | | Don't export methods on already exported classes.Stephen Kelly2011-08-113-10/+1
| | | | | | | | | | | | | | | | This is always a mistake.
| * | | Remember to surround the other deprecated test in the Borland check.Stephen Kelly2011-08-101-1/+4
| | | |
| * | | Export deprecated free methods too.Stephen Kelly2011-08-102-2/+2
| | | | | | | | | | | | | | | | That way they can be linked to even after being deprecated.
| * | | Another attempt at fixing Borland.Stephen Kelly2011-08-103-4/+15
| | | | | | | | | | | | | | | | | | | | Apparently it still needs to be exported, but only declspec(deprecated) does not work.
| * | | Use the correct project name compiletest not compilefailStephen Kelly2011-08-101-1/+1
| | | | | | | | | | | | | | | | Should fix windows VS solution based builds.
| * | | Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2Stephen Kelly2011-08-101-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | Hearsay has it that before that version it didn't work properly. Hopefully this will fix more dashboard builds.
| * | | Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds.Stephen Kelly2011-08-101-0/+4
| | | |
| * | | Only run the failure tests with gcc >= 4.2Stephen Kelly2011-08-101-1/+16
| | | |
| * | | Fix typo and tests failing as a result.Stephen Kelly2011-08-101-1/+1
| | | |
| * | | Fix tests with clang.Stephen Kelly2011-08-101-4/+5
| | | |