summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/DartConfiguration.tcl.in5
-rw-r--r--Source/cmCTest.cxx13
2 files changed, 13 insertions, 5 deletions
diff --git a/Modules/DartConfiguration.tcl.in b/Modules/DartConfiguration.tcl.in
index 7b79a3dafe..2eea45cd01 100644
--- a/Modules/DartConfiguration.tcl.in
+++ b/Modules/DartConfiguration.tcl.in
@@ -45,7 +45,10 @@ UpdateCommand: @UPDATE_COMMAND@
UpdateOptions: @UPDATE_OPTIONS@
UpdateType: @UPDATE_TYPE@
-# Dynamic analisys and coverage
+# Compiler info
+Compiler: @CMAKE_CXX_COMPILER@
+
+# Dynamic analysis and coverage
PurifyCommand: @PURIFYCOMMAND@
ValgrindCommand: @VALGRIND_COMMAND@
ValgrindCommandOptions: @VALGRIND_COMMAND_OPTIONS@
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index fa6333f1e1..c359e9c2bd 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -454,10 +454,10 @@ int cmCTest::Initialize(const char* binary_dir, bool new_tag,
//----------------------------------------------------------------------
bool cmCTest::InitializeFromCommand(cmCTestCommand* command, bool first)
{
- if ( !first && !this->CurrentTag.empty() )
- {
- return true;
- }
+ //if ( !first && !this->CurrentTag.empty() )
+ // {
+ // return true;
+ // }
std::string src_dir
= this->GetCTestConfiguration("SourceDirectory").c_str();
@@ -564,6 +564,7 @@ bool cmCTest::UpdateCTestConfiguration()
<< fileName.c_str() << "\n");
// parse the dart test file
std::ifstream fin(fileName.c_str());
+
if(!fin)
{
return false;
@@ -1265,6 +1266,10 @@ void cmCTest::StartXML(std::ostream& ostr, bool append)
<< this->GetCTestConfiguration("Site") << "\"\n\tGenerator=\"ctest-"
<< cmVersion::GetCMakeVersion() << "\"\n"
<< (append? "\tAppend=\"true\"\n":"")
+ << "\tCompilerName=\"" << this->GetCTestConfiguration("Compiler") << "\"\n"
+#ifdef _COMPILER_VERSION
+ << "\tCompilerVersion=\"_COMPILER_VERSION\"\n"
+#endif
<< "\tOSName=\"" << info.GetOSName() << "\"\n"
<< "\tHostname=\"" << info.GetHostname() << "\"\n"
<< "\tOSRelease=\"" << info.GetOSRelease() << "\"\n"