<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi ,<br><br>I would like to generate a txt report including <br>various informations produced by each test execution. <br>my ideas was in a second step to post this cover test onto a cdash portal.<br><br><br>My CMakeLists.txt produce a well formed CTestTestfile.cmake file with the following a classical structure :<br><br>ADD_TEST(Phase1_oconnell "bin/Linux/toulbar2" "/home/validation/default/oconnell.wcsp" "-B=0" "-v" "-e:")<br>SET_TESTS_PROPERTIES(Phase1_oconnell PROPERTIES PASS_REGULAR_EXPRESSION "Optimum: " TIMEOUT "100")<br><br>i would like to catch the stdout line produced by the test execution<br><br>the standard output print :<br>=================<br>....<br>Optimum: 328 in 15 backtracks and 15 nodes and 0 seconds.<br>end.<br><br>=================<br><br>how can i do to respectively catch foreach test the following informations ;<br><br>${Optimum} <br>${backtracks}<br>${nodes}<br>${seconds}<br><br>my ideas is generate a csv files and post it on the dashboard after post processing.<br><br><br><br><br>report exemple : cat report.txt<br>test;optimum;backtracks;nodes;seconds;<br>Phase1_oconnell;328;15;15;0;<br><br><br>thanks ,<br><br>sincerely Mohamed                                           
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr"><br></div>
                                           </div></body>
</html>