CMake/Tests
Brad King 5f4686920d BUG: Fix CMAKE_CURRENT_LIST_FILE in macros
The value of CMAKE_CURRENT_LIST_FILE is supposed to be the list file
currently being executed.  Before macros were introduced this was always
the context of the argument referencing the variable.

Our original implementation of macros replaced the context of command
arguments inside the macro with that of the arguments of the calling
context.  This worked recursively, but only worked when macros had at
least one argument.  Furthermore, it caused parsing errors of the
arguments to report the wrong location (calling context instead of line
with error).

The commit "Improve context for errors in macros" fixed the latter bug
by keeping the lexical context of command arguments in macros.  It broke
evaluation of CMAKE_CURRENT_LIST_FILE because the calling context was no
longer preserved in the argument referencing the variable.  However,
since our list file processing now maintains the proper value of
CMAKE_CURRENT_LIST_FILE with dynamic scope we no longer need the context
of the argument and can just evaluate the variable normally.
2009-03-25 10:37:04 -04:00
..
Assembler ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
BuildDepends ENH: make sure multiple archs are only tested when the work 2009-02-19 15:24:44 -05: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
CMakeTests STYLE: White space only change to see if continuous is working on new dashboard machine... 2009-03-06 14:29:31 -05:00
COnly ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CPackComponents BUG: Fix for issue #7470. Allow spaces in the path names of installed files with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes. 2009-01-20 14:29:41 -05:00
CTestTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CTestTest2 ENH: Teach ctest_submit about parts 2009-01-12 10:38:27 -05:00
CTestTest3 ENH: do not use svn until it is working again 2006-12-12 11:06:38 -05:00
CommandLineTest ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Complex ENH: Allow projects to disable per-rule echo lines 2009-03-16 16:55:58 -04:00
ComplexOneConfig ENH: Allow projects to disable per-rule echo lines 2009-03-16 16:55:58 -04:00
ComplexRelativePaths ENH: Allow projects to disable per-rule echo lines 2009-03-16 16:55:58 -04:00
ConvLibrary ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CustComDepend ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
CustomCommand BUG: Fix windows command line escape for empty arg 2008-12-18 13:36:58 -05: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 ENH: Test fake circular dependency case 2008-08-07 10:13:15 -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 ENH: Allow a custom list of debug configurations 2008-09-04 17:34:25 -04:00
ExternalOBJ BUG: make test more robust 2008-03-25 14:37:12 -04:00
ExternalProject ENH: Add patch step for add_external_project 2009-03-18 11:01:02 -04:00
FindModulesExecuteAll ENH: add a project name 2008-06-16 20:05:46 -04:00
FindPackageTest ENH: Test find_package re-find feature 2009-01-14 09:34:42 -05:00
Fortran ENH: Test included header in Fortran preprocessing 2009-02-24 14:32:31 -05: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 ENH: preclean some warnings 2008-03-25 11:27:18 -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
LibName BUG: better fix for .dll.lib problem 2006-11-30 17:32:46 -05: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: preclean some warnings 2008-03-25 11:27:18 -04:00
LoadCommandOneConfig ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
MacroTest BUG: Fix CMAKE_CURRENT_LIST_FILE in macros 2009-03-25 10:37:04 -04:00
MakeClean ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
MathTest ENH: preclean some warnings 2008-03-25 11:27:18 -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
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 ENH: Allow custom limit on object file path length 2008-08-21 09:54:36 -04:00
Plugin ENH: preclean some warnings 2008-03-25 11:27:18 -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 ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Preprocess ENH: Support preprocessor def values in VS6 2009-03-23 14:48:09 -04:00
Properties ENH: Teach set/get_property about CACHE properties 2009-03-10 11:10:59 -04:00
ReturnTest STYLE: extend documentation for RETURN() a bit 2008-08-16 18:06:17 -04:00
RuntimePath ENH: preclean some warnings 2008-03-25 11:27:18 -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 ENH: Add install(DIRECTORY) option 'OPTIONAL' 2009-02-24 11:41:40 -05:00
SimpleInstallS2 ENH: Add install(DIRECTORY) option 'OPTIONAL' 2009-02-24 11:41:40 -05:00
SourceGroups ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
StringFileTest ENH: New foreach(<var> IN ...) mode 2009-03-17 15:10:15 -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 ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
TarTest ENH: preclean some warnings 2008-03-25 11:27:18 -04: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 ENH: Add NAME mode to ADD_TEST command 2009-03-16 10:51:30 -04:00
TryCompile ENH: remove test that does not work on all compilers 2008-07-16 09:29:56 -04:00
Tutorial ENH: use a common CPACK_BINARY_ prefix for the binary package generators 2008-04-17 17:23:21 -04:00
Unset ENH: Create $CACHE{VAR} syntax 2008-09-25 10:21:15 -04:00
UseWX ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
VSExternalInclude ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Wrapping ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
X11 BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05: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 ENH: change to use CMAKE_CREATE_VERSION from CMAKE_VERSION as CMAKE_VERSION is auto-defined now 2009-01-27 10:35:29 -05:00
CTestUpdateCVS.cmake.in ENH: Extend CTest.UpdateSVN to test local mods 2009-02-26 09:22:16 -05:00
CTestUpdateCommon.cmake ENH: Extend CTest.UpdateSVN to test local mods 2009-02-26 09:22:16 -05:00
CTestUpdateSVN.cmake.in ENH: Extend CTest.UpdateSVN to test local mods 2009-02-26 09:22:16 -05:00
EnforceConfig.cmake.in ENH: Re-enable new 'testing' test mode 2009-01-05 14:14:25 -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