diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-27 18:46:33 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-27 18:46:33 (GMT) |
commit | 04c705bc017f4faa4743fc26c840ee890a0f0838 (patch) | |
tree | 13821348e69c32190f800f1b023213610f4e8ac4 /Source/CTest/cmCTestBuildHandler.h | |
parent | 9f625beab63f07fd86e3664e3c6a311b33288e58 (diff) | |
download | CMake-04c705bc017f4faa4743fc26c840ee890a0f0838.zip CMake-04c705bc017f4faa4743fc26c840ee890a0f0838.tar.gz CMake-04c705bc017f4faa4743fc26c840ee890a0f0838.tar.bz2 |
ENH: Better handle interleved error/output
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.h')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.h b/Source/CTest/cmCTestBuildHandler.h index 9948300..80d0625 100644 --- a/Source/CTest/cmCTestBuildHandler.h +++ b/Source/CTest/cmCTestBuildHandler.h @@ -103,13 +103,14 @@ private: std::vector<cmsys::RegularExpression> m_WarningMatchRegex; std::vector<cmsys::RegularExpression> m_WarningExceptionRegex; + typedef std::deque<char> t_BuildProcessingQueueType; + void ProcessBuffer(const char* data, int length, size_t& tick, size_t tick_len, - std::ofstream& ofs); + std::ofstream& ofs, t_BuildProcessingQueueType* queue); int ProcessSingleLine(const char* data); - typedef std::deque<char> t_BuildProcessingQueueType; t_BuildProcessingQueueType m_BuildProcessingQueue; - t_BuildProcessingQueueType::iterator m_BuildProcessingQueueLocation; + t_BuildProcessingQueueType m_BuildProcessingErrorQueue; size_t m_BuildOutputLogSize; std::vector<char> m_CurrentProcessingLine; |