CMake/Tests
David Cole 482a235bff Merge topic 'generate_export_header'
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 aed84517c9
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.
2011-09-01 15:14:01 -04:00
..
Architecture Use correct default multiple architecture values in test 2011-07-19 11:53:31 -04:00
ArgumentExpansion Fix ArgumentExpansion test expected results 2011-01-11 17:10:28 -05:00
Assembler Do not bother enabling C++ in Assembler test 2011-03-04 09:17:30 -05:00
BuildDepends Base architecture choice logic on Xcode version 2011-07-18 09:59:58 -04:00
BundleGeneratorTest BUG: Fix issue #7523: Analyze output of 'hdiutil attach' to get the name of the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code. 2009-01-21 13:39:22 -05:00
BundleTest Removed most usage of Carbon in favour of CoreFoundation 2011-01-31 18:21:20 -05:00
BundleUtilities BundleUtilities: Add rpath to loadable modules in test. 2011-06-02 09:08:49 -06:00
CFBundleTest Fix XCode -> Xcode typos, notably in man page (#12231) 2011-05-31 09:13:00 -04:00
CMakeCommands/build_command Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts. 2009-12-04 12:09:01 -05:00
CMakeLib run_compile_commands: Cast istream::get() result to char 2011-05-19 08:02:21 -04:00
CMakeTestAllGenerators Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators 2011-07-29 11:13:33 -04:00
CMakeTestBadCommandLines Add test CMakeTestBadCommandLines. Also add --graphviz arg to cmake invoked during the CPackComponents test. The purpose of each is to increase coverage of cmake.cxx. 2009-10-27 12:18:41 -04:00
CMakeTestMultipleConfigures Add test to enable detecting differences between generation N and N+1 of a cmake generated build tree. Theoretically, each generation run with exactly the same arguments should be identical to the previous generation... Practically, there are differences. This is a tool to help us measure those differences. For now, the test always succeeds. Eventually, we may add the code to make it fail when there are differences. 2009-10-26 16:09:27 -04:00
CMakeTests Add macros cmake_push/pop_check_state() as discussed on the list. 2011-07-07 22:09:44 +02:00
COnly ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CPackComponents CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148) 2011-01-11 15:42:42 -05:00
CPackComponentsForAll Merge topic 'drag-n-drop-components' 2011-04-05 14:29:06 -04:00
CPackTestAllGenerators Fix failing test. Forgot to double quote last arg to STRING. 2009-10-20 15:18:45 -04:00
CTestConfig Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts. 2009-12-04 12:09:01 -05:00
CTestScriptMode STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly from 2009-07-12 04:51:51 -04:00
CTestTest Remove unused code from CTest test suite 2009-12-02 09:16:29 -05:00
CTestTest2 CTestTest2: Avoid running purify unless requested 2011-01-27 14:36:14 -05:00
CTestTestBadExe Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestChecksum Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestCostSerial Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestCrash Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestCycle Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestDepends Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestFailedSubmits Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestFailure Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestParallel Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestResourceLock Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestRunScript Increase ctest RunScript line coverage. (Note: NEW_PROCESS argument is currently causing the test to fail, still investigating the reason for this, will add coverage for it later) 2009-10-30 17:43:55 -04:00
CTestTestScheduler Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestStopTime Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestSubdir Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestTimeout Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CTestTestUpload Add the FILES keyword to ctest_upload command 2011-03-15 15:07:37 -04:00
CTestTestZeroTimeout Tests: Eliminate unnecessary files and variables. 2011-01-28 14:58:04 -05:00
CheckCompilerRelatedVariables Add a new line to the end of the generated main.cxx for the hpux compiler. 2010-09-29 14:46:45 -04:00
CommandLineTest Remove unused DumpDocumentation code 2009-12-08 09:38:36 -05:00
CompileCommandOutput Fix CompileCommandOutput test build on Windows 2011-05-20 08:06:35 -04:00
Complex Fix vs2010 project generation error when HEADER_FILE_ONLY is set. 2010-12-20 15:25:16 -05:00
ComplexOneConfig Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
ComplexRelativePaths Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
Contracts Establish pass criteria for the Trilinos contract test. 2010-12-28 11:27:56 -05:00
ConvLibrary ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CrossCompile Fix TRY_RUN cross compile test to pass consistently 2009-11-09 12:05:49 -05:00
CustComDepend ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CustomCommand Normalize slashes of add_custom_(command|target) DEPENDS (#11973) 2011-03-30 09:52:07 -04:00
CustomCommandWorkingDirectory Handle relative WORKING_DIRECTORY in add_custom_(command|target) 2011-01-26 18:02:02 -05:00
CxxOnly Merge branch 'allow_upper_case_cpp_and_others' into resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others 2010-09-14 15:05:09 -04:00
Dependency Honor strong intra-component target dependencies 2010-08-25 17:14:13 -04:00
DocTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
EmptyLibrary Add test that CMake errors with empty libs 2010-09-30 11:01:35 -04:00
Environment ENH: Implement feature request from issue 7885. Allow setting environment variables on a per-test basis for ctest using set_test_properties ENVIRONMENT. 2008-11-26 14:38:43 -05:00
ExportImport Honor custom command dependencies on imported targets (#10395) 2010-12-08 12:22:13 -05:00
ExternalOBJ Fix for bug where VS2010 did not use .obj files as part of the build. 2011-04-01 16:28:41 -04:00
ExternalProject ExternalProject: Add SVN_TRUST_CERT argument 2011-04-11 16:34:58 -04:00
FindModulesExecuteAll ENH: add a project name 2008-06-16 20:05:46 -04:00
FindPackageModeMakefileTest Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile 2011-08-18 18:43:33 +02:00
FindPackageTest Set UNSUITABLE instead of not COMPATIBLE 2011-08-05 22:42:57 +02:00
ForceInclude Map multiple /FI flags for VS < 10 (#11649) 2011-01-03 10:02:16 -05:00
Fortran Merge topic 'absoft-fortran-compiler' 2011-05-24 14:34:40 -04:00
FortranC Honor real language flags in FortranC.Flags test 2009-12-15 14:03:03 -05:00
FortranOnly Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test. 2011-08-03 17:24:43 -04:00
Framework BUG: Fix issue #7046 - make sure extensionless headers and resource files work with the Xcode generator. Also fix incorrect mappings in the lastKnownFileType code. Add some extensionless files to the Framework test. 2008-09-05 15:51:19 -04:00
FunctionTest VS2010: Honor PROJECT_LABEL target property (#10611) 2010-09-09 16:44:30 -04:00
IPO Test INTERPROCEDURAL_OPTIMIZATION build feature 2009-10-02 13:52:29 -04:00
IncludeDirectories One more try. Use full path by default, and relative on broken compilers. 2011-06-03 16:16:50 -04:00
JCTest ENH: make it take longer 2008-12-29 18:11:02 -05:00
Java Tests: Java tests should test UseJava.cmake 2011-03-29 11:54:42 +02:00
Jump Cygwin: Fix tests to check CYGWIN instead of WIN32 2010-12-17 09:46:24 -05:00
KDE4StableBranchTest add a test which checks that cmake can build the latest stable KDE4 (kdelibs) release 2009-10-15 18:18:23 -04:00
LibName BUG: better fix for .dll.lib problem 2006-11-30 17:32:46 -05:00
LinkDirectory Test CMP0015 OLD and NEW link_directories behavior 2009-11-24 11:17:16 -05:00
LinkFlags Intel-specific workaround for LinkFlags tests 2010-06-03 09:47:23 -04:00
LinkLanguage Test target link information invalidation 2009-10-05 09:07:09 -04:00
LinkLine ENH: some cleanup, condensing some tests, removing arguments that were not needed but rather were cut and paste copies etc 2007-05-18 15:11:20 -04:00
LinkLineOrder ENH: remove warnings in tests 2004-05-02 11:50:14 -04:00
LinkStatic Test static linking with LINK_SEARCH_START_STATIC 2011-03-04 08:37:57 -05:00
LoadCommand ENH: Remove CMAKE_ANSI_CFLAGS from tests 2009-07-08 11:41:48 -04:00
LoadCommandOneConfig ENH: Remove CMAKE_ANSI_CFLAGS from tests 2009-07-08 11:41:48 -04:00
MacroTest ENH: Remove CMAKE_ANSI_CFLAGS from tests 2009-07-08 11:41:48 -04:00
MakeClean ENH: Remove CMAKE_ANSI_CFLAGS from tests 2009-07-08 11:41:48 -04:00
MathTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
MissingSourceFile Test that missing source mentions directory (#11677) 2011-01-15 08:16:50 -05:00
Module Fix Compiler id variable name. 2011-08-24 20:21:30 +02:00
ModuleDefinition Fix ModuleDefinition test for Intel on Windows 2009-10-05 14:39:23 -04:00
NewlineArgs ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
ObjC++ ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
OutDir Fix OutDir test on HP, MinGW, and Cygwin 2009-10-29 09:26:17 -04:00
OutOfBinary BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature. 2006-10-09 21:25:58 -04:00
OutOfSource Visual Studio 10 has the same bug as 8 so make the path shorter 2009-09-23 16:10:31 -04:00
PerConfig Merge topic 'resolve/tests-if-CYGWIN' 2010-12-21 14:05:53 -05:00
Plugin ENH: Remove CMAKE_ANSI_CFLAGS from tests 2009-07-08 11:41:48 -04:00
Policy0002 Test support for OLD behavior of policy CMP0002 2009-09-28 17:34:34 -04:00
PolicyScope Allow users to specify defaults for unset policies 2011-01-04 07:46:10 -05:00
PreOrder ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
PrecompiledHeader Fix PrecompiledHeader test for Intel on Windows 2009-10-05 14:39:14 -04:00
Preprocess Fix Preprocess test for Intel on Windows 2009-10-05 14:39:28 -04:00
Properties Fix #12342: Add APPEND_STRING option to set_property() 2011-07-15 20:57:33 +02:00
QtAutomoc Add a test for automoc 2011-08-16 02:13:26 +02:00
ReturnTest ENH: Remove CMAKE_ANSI_CFLAGS from tests 2009-07-08 11:41:48 -04:00
RuntimePath ENH: Remove CMAKE_ANSI_CFLAGS from tests 2009-07-08 11:41:48 -04:00
SameName ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SetLang ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Simple ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
SimpleCOnly ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this 2007-06-26 15:30:02 -04:00
SimpleExclude ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SimpleInstall Fix XCode -> Xcode typos, notably in man page (#12231) 2011-05-31 09:13:00 -04:00
SimpleInstallS2 Fix XCode -> Xcode typos, notably in man page (#12231) 2011-05-31 09:13:00 -04:00
SourceGroups Fix XCode -> Xcode typos, notably in man page (#12231) 2011-05-31 09:13:00 -04:00
StringFileTest allow STRING(SUBSTRING) work with length -1 as "rest of the string" 2010-12-08 16:38:30 -05:00
SubDir ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SubDirSpaces Disable SubDirSpaces parens with GNU Make 3.82 (#11654) 2011-01-11 10:01:30 -05:00
SubProject ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SwigTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SystemInformation Remove CMAKE_SHARED_MODULE_RUNTIME_${lang}_FLAG 2009-12-02 15:17:32 -05:00
TarTest Allow test to work on machines with umasks that do not allow files to be overwritten. 2009-11-09 12:48:31 -05:00
TargetName ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
TestDriver ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Testing Merge topic 'custom-command-generator-expressions' 2010-12-21 14:03:24 -05:00
TestsWorkingDirectory Fix XCode -> Xcode typos, notably in man page (#12231) 2011-05-31 09:13:00 -04:00
TryCompile Tests: Added test for check_prototype_definition. 2011-03-18 14:03:37 -04:00
Tutorial Use new style header generation and get rid of OBJECT_DEPENDS in tutorial 2009-10-04 22:55:02 -04:00
Unset ENH: Create $CACHE{VAR} syntax 2008-09-25 10:21:15 -04:00
VSExternalInclude Honor FOLDER on include_external_msproject targets (#11436) 2010-11-10 09:06:09 -05:00
VSMidl VSMidl Test: Use correct include_directories with VS6 (#11461) 2011-01-06 09:12:20 -05:00
VSResource Add support for Visual Studio project-specific globals (#8707) 2011-07-29 10:04:36 -04:00
VariableUnusedViaSet Add test for unused detection via setting it 2010-09-16 13:52:54 -04:00
VariableUnusedViaUnset Fix typo in VariableUnusedViaUnset test 2010-09-17 10:04:18 -04:00
VariableUsage Add tests for unused command line variables 2010-09-02 11:33:57 -04:00
Wrapping ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
X11 ENH: make sure tests for cpack are run correctly 2009-04-21 17:15:42 -04:00
.NoDartCoverage clean up coverage some 2002-12-03 11:21:12 -05:00
CMakeBuildTest.cmake.in ENH: Cleanup cmake --build interface. 2009-03-04 15:39:27 -05:00
CMakeInstall.cmake Avoid running CMake.Install test simultaneously with other tests 2010-12-31 09:18:52 -05:00
CMakeLists.txt Merge topic 'generate_export_header' 2011-09-01 15:14:01 -04:00
CMakeWizardTest.cmake Increase coverage. Add test of class cmakewizard. (cmake -i 'mode') 2009-10-06 13:27:13 -04:00
CTestUpdateBZR.cmake.in Generalize CTest.Update* test dashboard script helpers 2010-06-08 15:58:39 -04:00
CTestUpdateCVS.cmake.in Generalize CTest.Update* test dashboard script helpers 2010-06-08 15:58:39 -04:00
CTestUpdateCommon.cmake Fix machine-specific UpdateGIT test failures 2011-07-29 10:24:06 -04:00
CTestUpdateGIT.cmake.in Merge topic 'ctest-git-flexibility' 2010-08-03 16:07:31 -04:00
CTestUpdateGIT.sh.in ctest_update: Support Git upstream branch rewrites 2010-06-08 16:50:17 -04:00
CTestUpdateHG.cmake.in Generalize CTest.Update* test dashboard script helpers 2010-06-08 15:58:39 -04:00
CTestUpdateSVN.cmake.in Generalize CTest.Update* test dashboard script helpers 2010-06-08 15:58:39 -04:00
CheckFortran.cmake Modules: Fix spelling 'To distributed' -> 'To distribute' 2010-08-09 08:48:31 -04:00
EnforceConfig.cmake.in Always use a configuration for CMake tests 2009-12-10 11:19:23 -05:00
TestInstall.sh.in ENH: Added Install test. It is enabled when the CMAKE_INSTALL_PREFIX is CMake_BINARY_DIR/InstallTest. 2003-08-06 10:39:05 -04:00
bootstrap.bat.in Enable BootstrapTest on MSYS 2010-06-11 14:30:44 -04:00
test_clean.cmake.in ENH: Add test_clean target to wipe out tests 2008-08-19 11:43:57 -04:00