CMake/Tests
Brad King 8e756d2b9b Tolerate cycles in shared library link interfaces (#12647)
Since commit 183b9509 (Follow all dependencies of shared library private
dependencies, 2011-12-14) we honor LINK_INTERFACE_LIBRARIES when
following dependent shared libraries.  The link interface properties may
form a cycle if set incorrectly by a project.  Furthermore, the property
LINK_DEPENDENT_LIBRARIES may form a cycle if set incorrectly by hand
(though CMake should never generate one).  In either case, do not follow
the cycle forever when following the dependent shared library closure.
We only need to add dependency edges to the constraint graph once.

Add "LinkInterfaceLoop" test to cover this case.
2012-01-13 14:22:24 -05: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
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
CheckCompilerRelatedVariables Teach our tests about special cases for VS 11 2011-09-23 11:07:24 -04:00
CMakeCommands target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options 2011-11-22 16:52:35 -05:00
CMakeLib complex: Move cmSystemTools::UpperCase test to CMakeLibTests 2011-12-23 16:16:54 -05:00
CMakeOnly Tolerate cycles in shared library link interfaces (#12647) 2012-01-13 14:22:24 -05:00
CMakeTestAllGenerators Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators 2011-07-29 11:13:33 -04:00
CMakeTestBadCommandLines
CMakeTestMultipleConfigures
CMakeTests Merge topic 'newline-style' 2011-12-01 14:03:24 -05: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 complex: Remove unused option to test CMakeLib 2011-12-23 16:16:57 -05:00
ComplexOneConfig complex: Remove unused option to test CMakeLib 2011-12-23 16:16:57 -05:00
COnly
Contracts Establish pass criteria for the Trilinos contract test. 2010-12-28 11:27:56 -05:00
ConvLibrary
CPackComponents CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148) 2011-01-11 15:42:42 -05:00
CPackComponentsForAll CPackRPM support component specific variables for spec files 2011-10-30 20:13:20 +01:00
CPackTestAllGenerators
CrossCompile
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
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
CTestTestConfigFileInBuildDir CTest: Look for CTestConfig.cmake in build dir first, then source dir 2011-10-26 23:23:03 -04: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
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
CustComDepend
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
DoubleProject Fix the case where cmake --build failed with two project cmds in one file. 2011-12-20 14:16:25 -05:00
EmptyLibrary Add test that CMake errors with empty libs 2010-09-30 11:01:35 -04:00
Environment
ExportImport Follow all dependencies of shared library private dependencies 2011-12-14 11:33:01 -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 Tests: ExternalProject: Remove unnecessary 'svn --version' call 2011-12-05 11:49:31 -05:00
FindModulesExecuteAll
FindPackageModeMakefileTest Silence make on OpenBSD in FindPackageModeTest(#12508) 2011-10-12 22:20:18 +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 Fix and simplify Fortran test compiler compatibility check 2011-12-15 09:25:49 -05:00
FortranC Honor real language flags in FortranC.Flags test 2009-12-15 14:03:03 -05:00
FortranOnly Fortran: Add support for free- and fixed-form flags 2011-08-31 10:24:43 -04:00
Framework
FunctionTest VS2010: Honor PROJECT_LABEL target property (#10611) 2010-09-09 16:44:30 -04:00
IncludeDirectories One more try. Use full path by default, and relative on broken compilers. 2011-06-03 16:16:50 -04:00
iOSNavApp Xcode: Add test to demonstrate iOS project in Xcode 2011-09-12 15:46:24 -04:00
IPO
Java Tests: Java tests should test UseJava.cmake 2011-03-29 11:54:42 +02:00
JCTest
Jump Cygwin: Fix tests to check CYGWIN instead of WIN32 2010-12-17 09:46:24 -05:00
KDE4StableBranchTest
LibName
LinkDirectory
LinkFlags Intel-specific workaround for LinkFlags tests 2010-06-03 09:47:23 -04:00
LinkLanguage
LinkLine
LinkLineOrder
LinkStatic Test static linking with LINK_SEARCH_START_STATIC 2011-03-04 08:37:57 -05:00
LoadCommand
LoadCommandOneConfig
MacroTest
MakeClean
MathTest
MFC Tests: Only really run MFC test if we can build MFC apps (#11213) 2011-12-16 16:30:10 -05:00
MissingSourceFile Test that missing source mentions directory (#11677) 2011-01-15 08:16:50 -05:00
Module Build each library only once instead of once for each test. 2011-10-09 17:41:47 +02:00
ModuleDefinition
NewlineArgs
ObjC++
OutDir
OutOfBinary
OutOfSource
PerConfig Merge topic 'resolve/tests-if-CYGWIN' 2010-12-21 14:05:53 -05:00
Plugin
Policy0002
PolicyScope Allow users to specify defaults for unset policies 2011-01-04 07:46:10 -05:00
PrecompiledHeader
PreOrder
Preprocess Teach our tests about special cases for VS 11 2011-09-23 11:07:24 -04:00
Properties Fix #12342: Add APPEND_STRING option to set_property() 2011-07-15 20:57:33 +02:00
QtAutomoc automoc: default to strict mode, use CMAKE_AUTOMOC_RELAXED_MODE 2011-12-13 22:11:47 +01:00
ReturnTest
RuntimePath
SameName
SetLang
Simple
SimpleCOnly
SimpleExclude
SimpleInstall export(): Document undefined behavior of location properties 2011-12-01 16:00:12 -05:00
SimpleInstallS2 export(): Document undefined behavior of location properties 2011-12-01 16:00:12 -05: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
SubDirSpaces Disable SubDirSpaces parens with GNU Make 3.82 (#11654) 2011-01-11 10:01:30 -05:00
SubProject
SwigTest
SystemInformation Remove CMAKE_SHARED_MODULE_RUNTIME_${lang}_FLAG 2009-12-02 15:17:32 -05:00
TargetName
TarTest
TestDriver
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
Unset
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
VSExternalInclude Teach our tests about special cases for VS 11 2011-09-23 11:07:24 -04: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
Wrapping
X11
.NoDartCoverage
bootstrap.bat.in Enable BootstrapTest on MSYS 2010-06-11 14:30:44 -04:00
CheckFortran.cmake Modules: Fix spelling 'To distributed' -> 'To distribute' 2010-08-09 08:48:31 -04:00
CMakeBuildTest.cmake.in Fix the case where cmake --build failed with two project cmds in one file. 2011-12-20 14:16:25 -05:00
CMakeInstall.cmake Avoid running CMake.Install test simultaneously with other tests 2010-12-31 09:18:52 -05:00
CMakeLists.txt Add infrastructure for CMake-only tests 2012-01-13 14:21:22 -05:00
CMakeWizardTest.cmake
CTestUpdateBZR.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
CTestUpdateCVS.cmake.in Generalize CTest.Update* test dashboard script helpers 2010-06-08 15:58:39 -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 Teach CTest.UpdateSVN to detect svn add --depth before using it 2011-10-24 17:34:55 -04:00
EnforceConfig.cmake.in Always use a configuration for CMake tests 2009-12-10 11:19:23 -05:00
test_clean.cmake.in
TestInstall.sh.in