summaryrefslogtreecommitdiffstats
path: root/Source/ctest.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ctest.h')
-rw-r--r--Source/ctest.h26
1 files changed, 21 insertions, 5 deletions
diff --git a/Source/ctest.h b/Source/ctest.h
index 23c59b6..34f6858 100644
--- a/Source/ctest.h
+++ b/Source/ctest.h
@@ -61,11 +61,6 @@ public:
std::vector<std::string> &failed);
/**
- * Generate the Dart compatible output
- */
- void GenerateDartOutput(std::ostream& os);
-
- /**
* Find the executable for a test
*/
std::string FindExecutable(const char *exe);
@@ -115,6 +110,18 @@ private:
std::string m_Output;
};
+ struct cmCTestBuildErrorWarning
+ {
+ bool m_Error;
+ int m_LogLine;
+ std::string m_Text;
+ std::string m_SourceFile;
+ std::string m_SourceFileTail;
+ int m_LineNumber;
+ std::string m_PreContext;
+ std::string m_PostContext;
+ };
+
typedef std::vector<cmCTestTestResult> tm_TestResultsVector;
typedef std::map<std::string, std::string> tm_DartConfigurationMap;
@@ -122,5 +129,14 @@ private:
std::string m_ToplevelPath;
tm_DartConfigurationMap m_DartConfiguration;
int m_Tests[LAST_TEST];
+
+
+ /**
+ * Generate the Dart compatible output
+ */
+ void GenerateDartOutput(std::ostream& os);
+ void GenerateDartBuildOutput(std::ostream& os,
+ std::vector<cmCTestBuildErrorWarning>);
+
};