[Cmake-commits] [cmake-commits] zach.mullen committed cmCTest.cxx 1.371 1.372
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 12 11:06:55 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv11058/Source
Modified Files:
cmCTest.cxx
Log Message:
CTest-side support for compiler name and compiler version information. Requires CDash update to show on CDash.
Index: cmCTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCTest.cxx,v
retrieving revision 1.371
retrieving revision 1.372
diff -C 2 -d -r1.371 -r1.372
*** cmCTest.cxx 28 Sep 2009 15:41:57 -0000 1.371
--- cmCTest.cxx 12 Oct 2009 15:06:49 -0000 1.372
***************
*** 455,462 ****
bool cmCTest::InitializeFromCommand(cmCTestCommand* command, bool first)
{
! if ( !first && !this->CurrentTag.empty() )
! {
! return true;
! }
std::string src_dir
--- 455,462 ----
bool cmCTest::InitializeFromCommand(cmCTestCommand* command, bool first)
{
! //if ( !first && !this->CurrentTag.empty() )
! // {
! // return true;
! // }
std::string src_dir
***************
*** 565,568 ****
--- 565,569 ----
// parse the dart test file
std::ifstream fin(fileName.c_str());
+
if(!fin)
{
***************
*** 1266,1269 ****
--- 1267,1274 ----
<< 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"
More information about the Cmake-commits
mailing list