summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestGenericHandler.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 17:18:21 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 17:18:21 (GMT)
commit2cc5ed49d17e5a26308d3af288767e7ef405903b (patch)
treea918403b8c04e6058785876c71e8b79cffd36948 /Source/CTest/cmCTestGenericHandler.h
parentb156314ab3cedc7fa1c8198a320be4a05dd6ff8d (diff)
downloadCMake-2cc5ed49d17e5a26308d3af288767e7ef405903b.zip
CMake-2cc5ed49d17e5a26308d3af288767e7ef405903b.tar.gz
CMake-2cc5ed49d17e5a26308d3af288767e7ef405903b.tar.bz2
ENH: Several improvements to CTest:
1. Support for showing line numbers when debugging ctest --show-line-numbers 2. Modify the ctest initialization code, so that it can be delayed 3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that) 4. Start command is simplified and the functionality is moved to CTest 5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set 6. Add test that checks out kwsys and perform tests on the fresh checkout
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.h')
-rw-r--r--Source/CTest/cmCTestGenericHandler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.h b/Source/CTest/cmCTestGenericHandler.h
index ca658b6..dccb70f 100644
--- a/Source/CTest/cmCTestGenericHandler.h
+++ b/Source/CTest/cmCTestGenericHandler.h
@@ -23,6 +23,7 @@
class cmCTest;
class cmMakefile;
+class cmCTestCommand;
/** \class cmCTestGenericHandler
* \brief A superclass of all CTest Handlers
@@ -71,10 +72,17 @@ public:
void SetOption(const char* op, const char* value);
const char* GetOption(const char* op);
+ void SetCommand(cmCTestCommand* command)
+ {
+ m_Command = command;
+ }
+
protected:
bool m_HandlerVerbose;
cmCTest *m_CTest;
t_StringToString m_Options;
+
+ cmCTestCommand* m_Command;
};
#endif