Commit fcc16effec3c7d912f1ecf305cfa01a6a6e48751
1 parent
1db343ac
GTestSuites write test suites name in XML result file
Showing
1 changed file
with
1 additions
and
8 deletions
src/test/GTestSuites.cpp
| ... | ... | @@ -613,14 +613,7 @@ void GTestSuites::write(GXml& xml) const |
| 613 | 613 | GXmlElement* testsuites = xml.append("testsuites"); |
| 614 | 614 | |
| 615 | 615 | // Set attributes |
| 616 | - testsuites->attribute("name", "GammaLib"); | |
| 617 | - /* | |
| 618 | - testsuites->attribute("test",str(tests())); | |
| 619 | - testsuites->attribute("errors",str(errors())); | |
| 620 | - testsuites->attribute("failures",str(failures())); | |
| 621 | - testsuites->attribute("time","0"); // not used | |
| 622 | - testsuites->attribute("timestamp",str(timestamp())); | |
| 623 | - */ | |
| 616 | + testsuites->attribute("name", m_name); | |
| 624 | 617 | |
| 625 | 618 | // Loop over all test suites in the container |
| 626 | 619 | for (int i = 0; i < m_testsuites.size(); ++i) { | ... | ... |