summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-01-09 21:44:19 (GMT)
committerBrad King <brad.king@kitware.com>2009-01-09 21:44:19 (GMT)
commit82e7e7fb7d76c2c66a0e8604ca77f2d5ccb4801e (patch)
tree61cb920305ab9fb048bd5678e65172ad0175654f /Source/cmCTest.cxx
parent5690cafd6289431c8eb150402478fec4129068d3 (diff)
downloadCMake-82e7e7fb7d76c2c66a0e8604ca77f2d5ccb4801e.zip
CMake-82e7e7fb7d76c2c66a0e8604ca77f2d5ccb4801e.tar.gz
CMake-82e7e7fb7d76c2c66a0e8604ca77f2d5ccb4801e.tar.bz2
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.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index dbb23df..6a5fc39 100644
--- a/Source/cmCTest.cxx
+++ b/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"