CMake/Tests
Brad King 5152bf5639 Cleanup CMakeBuildTest in test_clean target
The test_clean target is supposed to remove all test build directories.
We add the build directory for CMakeBuildTest because it was missing.
2009-11-30 11:16:13 -05:00
..
Architecture Test OSX_ARCHITECTURES target property 2009-10-21 13:01:17 -04:00
Assembler ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
BuildDepends Avoid Intel linker crash in BuildDepends test 2009-10-27 11:31:40 -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 ENH: Add indirect dependency to Carbon and call a Carbon function from executable. This will allow detecting broken dependency chaining for '-framework blah' style lib dependencies. 2008-09-02 11:07:04 -04:00
CMakeTestAllGenerators Add test of all cmake -G generators. Ignore any errors from this as not all generators are expected to be usable on all machines. Help to increase coverage of the various generators and cmake.cxx itself. 2009-10-22 10:14:40 -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 Fix get_filename_component(... REALPATH) work dir 2009-11-18 10:56:40 -05:00
COnly ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CPackComponents Avoid failure of CPackComponents test on dash16 and dash17 since makensis was installed on those machines to increase coverage. Do not add install rules with absolute paths when makensis is going to be used to build an installer. 2009-10-28 14:40:01 -04:00
CPackTestAllGenerators Fix failing test. Forgot to double quote last arg to STRING. 2009-10-20 15:18:45 -04:00
CTestScriptMode STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly from 2009-07-12 04:51:51 -04:00
CTestTest Increase ctest coverage. Introduce optionally on intentional compile errors and warnings to the SmallAndFast project. Turn them on for the FailedSubmit tests to cover analyzing LABELS-related errors and warnings. 2009-10-15 12:35:54 -04:00
CTestTest2 ENH: Teach ctest_submit about parts 2009-01-12 10:38:27 -05:00
CTestTest3 Hook for scheduling tests in a random order 2009-10-29 15:30:12 -04:00
CTestTestCrash Make sure CTestTest scripts honor the CMAKE_TEST_GENERATOR so that if the generator to build cmake is different than the one used for tests (watcom) is used. 2009-09-24 13:18:49 -04:00
CTestTestFailedSubmits Increase ctest coverage. Introduce optionally on intentional compile errors and warnings to the SmallAndFast project. Turn them on for the FailedSubmit tests to cover analyzing LABELS-related errors and warnings. 2009-10-15 12:35:54 -04:00
CTestTestFailure Use CTEST_TEST_GENERATOR 2009-09-24 13:43:25 -04:00
CTestTestParallel Remove ctest_submit from CTestTestParallel 2009-09-29 14:21:48 -04: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
CTestTestSubdir Change logic of ctest subdirs command to allow for absolute paths. Also added test coverage for passing absolute paths to subdirs. 2009-11-10 10:40:24 -05:00
CTestTestTimeout Improved safety and removed busy waiting from the CTestTestTimeout test. 2009-09-30 14:48:40 -04:00
CommandLineTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Complex Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04: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
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 Oops. Last commit did not create subdir before doing a touch on a file in it. So it fails on some platforms. This fixes that. 2009-09-25 13:36:08 -04:00
CustomCommandWorkingDirectory ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CxxOnly ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
Dependency Test link multiplicity 2009-09-01 10:38:03 -04:00
DocTest ENH: preclean some warnings 2008-03-25 11:27:18 -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 Test link multiplicity export/import 2009-09-01 10:38:36 -04:00
ExternalOBJ BUG: make test more robust 2008-03-25 14:37:12 -04:00
ExternalProject Use more verbose/descriptive names for the "public API" functions in the ExternalProject.cmake module. Follow the cmake function naming convention, using a ModuleFileName_ prefix. Locate stamp files under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug and release builds have separate stamp files for Visual Studio builds. If no CMAKE_GENERATOR argument is given to ExternalProject_Add, default to using the parent project's cmake generator. 2009-09-08 15:37:15 -04:00
FindModulesExecuteAll ENH: add a project name 2008-06-16 20:05:46 -04:00
FindPackageTest Document and test find_package <pkg>_DIR env var 2009-11-04 13:14:57 -05:00
Fortran Skip SHARED lib Fortran test with XL and old GNU 2009-10-26 11:32:19 -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 Test add_subdirectory inside function 2009-09-16 09:52:04 -04:00
IPO Test INTERPROCEDURAL_OPTIMIZATION build feature 2009-10-02 13:52:29 -04:00
JCTest ENH: make it take longer 2008-12-29 18:11:02 -05:00
Java ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Jump ENH: preclean some warnings 2008-03-25 11:27:18 -04: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
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
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
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
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 ENH: Isolate policy changes in included scripts 2009-01-22 13:18:40 -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 Test cache entry property "STRINGS" 2009-07-29 08:39:50 -04: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 SimpleInstall test now builds an installer package if CTEST_TEST_CPACK is ON at the Tests/CMakeLists.txt level. 2009-11-16 15:35:04 -05:00
SimpleInstallS2 SimpleInstall test now builds an installer package if CTEST_TEST_CPACK is ON at the Tests/CMakeLists.txt level. 2009-11-16 15:35:04 -05:00
SourceGroups ENH: add group support and fix borland error 2009-07-11 00:05:20 -04:00
StringFileTest Add a test for FILE(READ ... HEX) together with a tiny binary file. 2009-09-06 10:26:24 -04:00
SubDir ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
SubDirSpaces ENH: preclean some warnings 2008-03-25 11:27:18 -04: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 Teach Xcode generator to set XCODE_VERSION 2009-09-23 08:48:39 -04: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 Test add_test() generator expressions 2009-08-11 09:56:02 -04:00
TryCompile Add more coverage and use the ARGS option of try_run 2009-10-28 23:29:13 -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 ENH: remove INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties instead, fix VXExternalInclude test for VS10 2009-07-14 14:16:46 -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
CMakeLists.txt Cleanup CMakeBuildTest in test_clean target 2009-11-30 11:16:13 -05:00
CMakeWizardTest.cmake Increase coverage. Add test of class cmakewizard. (cmake -i 'mode') 2009-10-06 13:27:13 -04:00
CTestUpdateBZR.cmake.in ENH: Teach CTest to handle Bazaar repositories 2009-05-14 16:13:52 -04:00
CTestUpdateCVS.cmake.in ENH: Auto-enable CTest.UpdateCVS test on Windows 2009-06-22 16:26:02 -04:00
CTestUpdateCommon.cmake Output command that failed, if it fails. 2009-08-11 22:01:49 -04:00
CTestUpdateGIT.cmake.in Make CTest.UpdateGIT robust to user git config 2009-09-01 15:41:43 -04:00
CTestUpdateHG.cmake.in ENH: Teach CTest to handle Mercurial repositories 2009-07-10 11:08:05 -04:00
CTestUpdateSVN.cmake.in ENH: Teach Update* tests to report local mod step 2009-04-08 09:22:08 -04:00
EnforceConfig.cmake.in Improve fake $HOME test isolation code 2009-11-24 12:15:33 -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
test_clean.cmake.in ENH: Add test_clean target to wipe out tests 2008-08-19 11:43:57 -04:00