summaryrefslogtreecommitdiffstats
path: root/Tests/Module
Commit message (Collapse)AuthorAgeFilesLines
* Fix Module.ExternalData test on CygwinBrad King2013-02-041-1/+5
| | | | | In ExternalData_URL_TEMPLATES add a leading slash to the path after file:// only if the path does not already start with one.
* ExternalData: Collapse ../ components in DATA{} pathsBrad King2013-01-303-3/+8
| | | | | Relative path components need to be normalized out even if they appear in the middle of a caller-supplied string.
* ExternalData: Add support for SHA 1 and 2 hash algorithmsBrad King2013-01-3013-0/+18
| | | | | Update the Module.ExternalData and RunCMake.ExternalData tests to cover some of them.
* ExternalData: Allow DATA{} syntax to reference directoriesBrad King2013-01-305-0/+10
| | | | | | | Use a trailing slash to reference a directory. Require that a list of associated files be specified to select from within the directory. One may simply use DATA{Dir/,REGEX:.*} to reference all files but get a directory passed on the command line.
* ExternalData: Allow ()-groups in series match regexBrad King2013-01-301-1/+1
| | | | | | | Refactor use of the ExternalData_SERIES_MATCH value to avoid assuming that it has no ()-groups that interfere with group indexing. Extend the Module.ExternalData test to cover this case.
* ExternalData: Add tests covering interfaces and errorsBrad King2013-01-3060-0/+184
| | | | | | | | Add a Module.ExternalData test to verify data retrieval and test argument DATA{} references. Add a RunCMake.ExternalData test to verify error handling and automatic transformation of a raw data to a content link and staged object.
* CheckTypeSize: add a test for size of struct membersRolf Eike Beer2012-08-144-2/+68
|
* CheckCXXCompilerFlag test: make it a CMakeOnly testRolf Eike Beer2012-01-301-74/+0
|
* GenerateExportHeader test: add newlines before end of fileRolf Eike Beer2012-01-175-5/+5
|
* 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
|
* Add some more unit tests.Stephen Kelly2011-09-0210-0/+114
|
* 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-171-0/+63
| | | | | 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
|
* Test expected no-op instead of aborting the build.Stephen Kelly2011-08-101-7/+4
| | | | Aborting causes make clean to fail if the executable is not created.
* Short-circuit the tests on unsupported compilers.Stephen Kelly2011-08-101-0/+6
|
* Add a newline at the end of the file.Stephen Kelly2011-08-091-1/+1
| | | | Hopefully fix the test execution reported on CDash.
* Add a newline at the end of the file.Stephen Kelly2011-08-081-1/+1
| | | | Hopefully fix the test execution reported on CDash.
* Handle the case where the user changes the DEFINE_SYMBOL property.Stephen Kelly2011-08-085-0/+37
| | | | This eases porting of KDE code.
* Add the GenerateExportMacro with unit tests.Stephen Kelly2011-08-0714-0/+733
| | | | Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>
* Test the CheckTypeSize moduleBrad King2009-12-173-0/+179
We create test "Module.CheckTypeSize" to verify that type sizes get detected correctly.