CMake/Source/CTest
Brad King a48f29c904 Set current directory variables in CTest scripts
The commit "Fix get_filename_component ABSOLUTE mode" broke the code

  get_filename_component(cwd . ABSOLUTE)

because CTest scripts did not make cmMakefile::GetCurrentDirectory()
available.  This commit fixes the problem by setting the proper
information on CTest script instances of cmMakefile.

This also makes CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR
available to CTest scripts.  They are set to the working directory at
script startup.
2009-07-31 09:19:19 -04:00
..
cmCTestBZR.cxx BUG: Parse more bzr xml output encodings 2009-05-18 10:34:35 -04:00
cmCTestBZR.h ENH: Teach CTest to handle Bazaar repositories 2009-05-14 16:13:52 -04:00
cmCTestBuildAndTestHandler.cxx STYLE: fix warning 2009-06-15 14:22:13 -04:00
cmCTestBuildAndTestHandler.h ENH: support for --build-config-sample feature #1022 2007-03-19 13:04:10 -04:00
cmCTestBuildCommand.cxx BUG: Fix CTEST_USE_LAUNCHERS in dashboard scripts 2009-02-13 11:49:31 -05:00
cmCTestBuildCommand.h ENH: Document APPEND option in ctest_* commands 2009-02-20 15:51:03 -05:00
cmCTestBuildHandler.cxx ENH: Report file names relative to source dir 2009-02-12 13:00:22 -05:00
cmCTestBuildHandler.h ENH: Teach CTest dashboard builds to use launchers 2009-02-11 15:18:08 -05:00
cmCTestCVS.cxx BUG: Fix CVS update parsing for TortoiseCVS 2009-06-23 09:06:13 -04:00
cmCTestCVS.h ENH: Rewrite CTest Update implementation 2009-02-25 14:42:45 -05:00
cmCTestCommand.h STYLE: Fix some style issues 2006-03-10 15:03:09 -05:00
cmCTestConfigureCommand.cxx ENH: Add OPTIONS argument to the ctest_configure command so that you can pass -D arguments to the cmake configure step from a ctest -S script. Also clarify/correct some not so helpful error messages. 2008-12-30 09:13:02 -05:00
cmCTestConfigureCommand.h ENH: Document APPEND option in ctest_* commands 2009-02-20 15:51:03 -05:00
cmCTestConfigureHandler.cxx ENH: Create cmXMLSafe to help escapes in XML 2009-02-05 16:31:37 -05:00
cmCTestConfigureHandler.h STYLE: Fix some style issues 2006-03-09 11:17:10 -05:00
cmCTestCoverageCommand.cxx BUG: Initialize ctest_coverage command ivar 2009-03-05 10:17:42 -05:00
cmCTestCoverageCommand.h BUG: Initialize ctest_coverage command ivar 2009-03-05 10:17:42 -05:00
cmCTestCoverageHandler.cxx BUG: Do not produce empty coverage log files 2009-03-11 13:31:40 -04:00
cmCTestCoverageHandler.h BUG: Avoid duplicate CTest coverage submission 2009-03-11 12:03:47 -04:00
cmCTestEmptyBinaryDirectoryCommand.cxx ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class 2008-01-23 10:28:26 -05:00
cmCTestEmptyBinaryDirectoryCommand.h STYLE: use lower case also for the ctest-specific commands, as in cmake 2008-05-12 09:11:51 -04:00
cmCTestGIT.cxx COMP: Fix class reference for HP aCC 2009-04-22 10:22:25 -04:00
cmCTestGIT.h ENH: Teach CTest to handle git repositories 2009-04-22 09:19:06 -04:00
cmCTestGenericHandler.cxx ENH: fix part submission to not have memory of the last part submission 2009-01-15 13:24:54 -05:00
cmCTestGenericHandler.h ENH: Divide CTest file submission list by part 2009-01-12 10:37:55 -05:00
cmCTestGlobalVC.cxx ENH: Factor global-VC parts out of cmCTestSVN 2009-04-22 09:18:19 -04:00
cmCTestGlobalVC.h ENH: Factor global-VC parts out of cmCTestSVN 2009-04-22 09:18:19 -04:00
cmCTestHG.cxx COMP: Fix cmCTestHG for old HP compiler 2009-07-10 13:08:54 -04:00
cmCTestHG.h ENH: Teach CTest to handle Mercurial repositories 2009-07-10 11:08:05 -04:00
cmCTestHandlerCommand.cxx ENH: Teach ctest_* to create appending XML files 2009-01-12 09:11:29 -05:00
cmCTestHandlerCommand.h ENH: Document APPEND option in ctest_* commands 2009-02-20 15:51:03 -05:00
cmCTestLaunch.cxx ENH: Report file names relative to source dir 2009-02-12 13:00:22 -05:00
cmCTestLaunch.h ENH: Report file names relative to source dir 2009-02-12 13:00:22 -05:00
cmCTestMemCheckCommand.cxx STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
cmCTestMemCheckCommand.h ENH: Document APPEND option in ctest_* commands 2009-02-20 15:51:03 -05:00
cmCTestMemCheckHandler.cxx BUG: fix for bug #8153 add purify suppression file and fix output to not be one big line 2009-05-27 11:14:08 -04:00
cmCTestMemCheckHandler.h ENH: add support for bounds checker 2007-07-24 14:43:31 -04:00
cmCTestMultiProcessHandler.cxx ENH: add a CDash measured value showing the reason for passed and failed tests based on regular expressions 2009-02-24 17:23:51 -05:00
cmCTestMultiProcessHandler.h COMP: fix some more warnings 2008-07-06 20:03:08 -04:00
cmCTestReadCustomFilesCommand.cxx ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class 2008-01-23 10:28:26 -05:00
cmCTestReadCustomFilesCommand.h STYLE: use lower case also for the ctest-specific commands, as in cmake 2008-05-12 09:11:51 -04:00
cmCTestRunScriptCommand.cxx ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class 2008-01-23 10:28:26 -05:00
cmCTestRunScriptCommand.h STYLE: use lower case also for the ctest-specific commands, as in cmake 2008-05-12 09:11:51 -04:00
cmCTestSVN.cxx ENH: Factor global-VC parts out of cmCTestSVN 2009-04-22 09:18:19 -04:00
cmCTestSVN.h ENH: Factor global-VC parts out of cmCTestSVN 2009-04-22 09:18:19 -04:00
cmCTestScriptHandler.cxx Set current directory variables in CTest scripts 2009-07-31 09:19:19 -04:00
cmCTestScriptHandler.h STYLE: move the code for writing the initial cache into its own separate 2009-07-11 16:30:18 -04:00
cmCTestSleepCommand.cxx ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class 2008-01-23 10:28:26 -05:00
cmCTestSleepCommand.h STYLE: use lower case also for the ctest-specific commands, as in cmake 2008-05-12 09:11:51 -04:00
cmCTestStartCommand.cxx ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class 2008-01-23 10:28:26 -05:00
cmCTestStartCommand.h STYLE: use lower case also for the ctest-specific commands, as in cmake 2008-05-12 09:11:51 -04:00
cmCTestSubmitCommand.cxx ENH: Remove CTest public.kitware.com drop default 2009-05-15 15:39:43 -04:00
cmCTestSubmitCommand.h ENH: More documentation for ctest_submit command 2009-02-20 15:50:15 -05:00
cmCTestSubmitHandler.cxx ENH: set an upload speed limit for ctest 2009-06-25 16:38:47 -04:00
cmCTestSubmitHandler.h ENH: add submit via cp mode 2009-03-31 15:24:50 -04:00
cmCTestTestCommand.cxx ENH: add the ability to run tests by labels 2009-02-10 14:24:24 -05:00
cmCTestTestCommand.h ENH: Document APPEND option in ctest_* commands 2009-02-20 15:51:03 -05:00
cmCTestTestHandler.cxx BUG: Do not double-initialize local generators 2009-07-28 10:47:02 -04:00
cmCTestTestHandler.h ENH: add a CDash measured value showing the reason for passed and failed tests based on regular expressions 2009-02-24 17:23:51 -05:00
cmCTestUpdateCommand.cxx ENH: Teach CTest to handle Mercurial repositories 2009-07-10 11:08:05 -04:00
cmCTestUpdateCommand.h BUG: Fix return value of ctest_update 2009-03-20 14:19:56 -04:00
cmCTestUpdateHandler.cxx ENH: Teach CTest to handle Mercurial repositories 2009-07-10 11:08:05 -04:00
cmCTestUpdateHandler.h ENH: Teach CTest to handle Mercurial repositories 2009-07-10 11:08:05 -04:00
cmCTestVC.cxx ENH: Refactor initial checkout into cmCTestVC 2009-02-26 09:22:32 -05:00
cmCTestVC.h ENH: Refactor initial checkout into cmCTestVC 2009-02-26 09:22:32 -05:00
cmProcess.cxx ENH: fix return value to ctest_build and remove debug print in cmProcess 2009-01-14 13:48:03 -05:00
cmProcess.h ENH: add start end time for procs 2008-12-29 17:49:17 -05:00