summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-19 17:04:10 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-19 17:04:10 (GMT)
commit3abf39eda0f6e9e099e55a45ae61180d5c4acde3 (patch)
tree340594aae0f00464b6c57c14b4f7de5102274af6 /Source/CTest/cmCTestTestHandler.h
parentfc7c43346318744d05829579e6312aecddc66207 (diff)
downloadCMake-3abf39eda0f6e9e099e55a45ae61180d5c4acde3.zip
CMake-3abf39eda0f6e9e099e55a45ae61180d5c4acde3.tar.gz
CMake-3abf39eda0f6e9e099e55a45ae61180d5c4acde3.tar.bz2
ENH: support for --build-config-sample feature #1022
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index c23089f..6b81f8a 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -103,6 +103,25 @@ public:
cmCTestTestProperties* Properties;
};
+ // useful function for looking for a test
+ static bool TryExecutable(const char *dir, const char *file,
+ std::string *fullPath,
+ const char *subdir);
+
+ // add configuraitons to a search path for an executable
+ static void AddConfigurations(cmCTest *ctest,
+ std::vector<std::string> &attempted,
+ std::vector<std::string> &attemptedConfigs,
+ std::string filepath,
+ std::string &filename);
+
+ // full signature static method to find an executable
+ static std::string FindExecutable(cmCTest *ctest,
+ const char *testCommand,
+ std::string &resultingConfig,
+ std::vector<std::string> &extraPaths,
+ std::vector<std::string> &failed);
+
protected:
virtual int PreProcessHandler();
virtual int PostProcessHandler();