瀏覽代碼

ENH: Add missing newline to CTest-generated xml

The Generator="ctest..." attribute of Site elements in CTest-generated
XML files was missing a newline, causing the next attribute to appear on
the same line.  This adds the newline.
Brad King 17 年之前
父節點
當前提交
82e7e7fb7d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmCTest.cxx

+ 1 - 1
Source/cmCTest.cxx

@@ -1288,7 +1288,7 @@ void cmCTest::StartXML(std::ostream& ostr)
        << "\"\n\tBuildStamp=\"" << this->CurrentTag << "-"
        << this->GetTestModelString() << "\"\n\tName=\""
        << this->GetCTestConfiguration("Site") << "\"\n\tGenerator=\"ctest"
-       << cmVersion::GetCMakeVersion()  << "\""
+       << cmVersion::GetCMakeVersion()  << "\"\n"
        << "\tOSName=\"" << info.GetOSName() << "\"\n"
        << "\tHostname=\"" << info.GetHostname() << "\"\n"
        << "\tOSRelease=\"" << info.GetOSRelease() << "\"\n"