mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
updated for jenkins
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@10888 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
8ed5bbb468
commit
547d6d99c6
@ -130,10 +130,10 @@ int main(int argc, char **argv)
|
|||||||
//bool wasSucessful = runner.run("", false);
|
//bool wasSucessful = runner.run("", false);
|
||||||
runner.run(testresult);
|
runner.run(testresult);
|
||||||
|
|
||||||
// output xml for jenkins
|
// output xml for jenkins
|
||||||
std::ofstream xml("results.xml");
|
std::ofstream xml("results.xml");
|
||||||
CppUnit::XmlOutputter xmlOut(&collectedresults, xml);
|
CppUnit::XmlOutputter xmlOut(&collectedresults, xml);
|
||||||
xmlOut.write();
|
xmlOut.write();
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
s.stopTimer();
|
s.stopTimer();
|
||||||
@ -141,6 +141,6 @@ int main(int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//return wasSucessful ? 0 : 1;
|
//return wasSucessful ? 0 : 1;
|
||||||
return collectedresults.wasSuccessful() ? 0 : 1;
|
// return collectedresults.wasSuccessful() ? 0 : 1;
|
||||||
// return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user