diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-18 15:30:53 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-18 15:30:53 (GMT) |
commit | 7f5b38b1903c5abf359e5d41d074640f7abd6871 (patch) | |
tree | 9f6268bc9a1bab3921f91f512079d2fd2a2f7575 /Source/cmCTest.h | |
parent | 3935711e011c1c7a512b61af0f6e86659a4a8ee8 (diff) | |
download | CMake-7f5b38b1903c5abf359e5d41d074640f7abd6871.zip CMake-7f5b38b1903c5abf359e5d41d074640f7abd6871.tar.gz CMake-7f5b38b1903c5abf359e5d41d074640f7abd6871.tar.bz2 |
BUG: Fix Bug #153 - CTest does not detect tests that are not found and Bug #153 - CTest does not detect tests that are not found
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 78f5e5e..dd7bdde 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -140,7 +140,7 @@ private: ALL_TEST = 9, LAST_TEST = 10 }; - + enum { // Program statuses NOT_RUN = 0, TIMEOUT, @@ -238,8 +238,14 @@ private: std::string MakeXMLSafe(const std::string&); std::string MakeURLSafe(const std::string&); - bool RunMakeCommand(const char* command, std::string* output, - int* retVal, const char* dir, bool verbose, int timeout, std::ofstream& ofs); + //! Run command specialized for make and configure. Returns process status + // and retVal is return value or exception. + int RunMakeCommand(const char* command, std::string* output, + int* retVal, const char* dir, bool verbose, int timeout, + std::ofstream& ofs); + + //! Run command specialized for tests. Returns process status and retVal is + // return value or exception. int RunTest( const char* command, std::string* output, int *retVal); std::string GenerateRegressionImages(const std::string& xml); |