summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.h
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2019-08-19 17:08:19 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2019-08-22 19:53:42 (GMT)
commit207926795971d260d602390fbd70e3cb78b4deb3 (patch)
tree386f7c65089b0d63f49d32124f907d38f1c6c952 /Source/CTest/cmCTestBuildHandler.h
parent1958c78fe1d600e1d1d4cde480907ac6fcad4a1e (diff)
downloadCMake-207926795971d260d602390fbd70e3cb78b4deb3.zip
CMake-207926795971d260d602390fbd70e3cb78b4deb3.tar.gz
CMake-207926795971d260d602390fbd70e3cb78b4deb3.tar.bz2
ctest_build: ignore ANSI color
Ignore ANSI color when scraping logs for errors and warnings
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.h')
-rw-r--r--Source/CTest/cmCTestBuildHandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.h b/Source/CTest/cmCTestBuildHandler.h
index 722c590..87f1534 100644
--- a/Source/CTest/cmCTestBuildHandler.h
+++ b/Source/CTest/cmCTestBuildHandler.h
@@ -18,6 +18,7 @@
#include <vector>
class cmMakefile;
+class cmStringReplaceHelper;
class cmXMLWriter;
/** \class cmCTestBuildHandler
@@ -143,6 +144,9 @@ private:
int MaxErrors;
int MaxWarnings;
+ // Used to remove ANSI color codes before checking for errors and warnings.
+ cmStringReplaceHelper* ColorRemover;
+
bool UseCTestLaunch;
std::string CTestLaunchDir;
class LaunchHelper;