<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">The output XML is in JUNIT format. I trust you can easily look up the schema by search for JUNIT.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The current runtests script doesn’t handle tests with paths. Rather, it is designed to work recursively. For example, the top testlist should only contain direct subdirectory, e.g. rma. Then runtests will look for separate testlist file
 in rma/.  What you need to do is to edit `rma/testlist` so it only contains `sampletest`.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">-- <br>
Hui Zhou<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Heinz, Michael William via discuss <discuss@mpich.org><br>
<b>Date: </b>Wednesday, July 14, 2021 at 7:49 AM<br>
<b>To: </b>discuss@mpich.org <discuss@mpich.org><br>
<b>Cc: </b>Heinz, Michael William <michael.william.heinz@cornelisnetworks.com><br>
<b>Subject: </b>[mpich-discuss] Trying to work with the MPICH test suite, need a little help processing the results<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in">Hey,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">So… I’m working with the MPICH test suite to check for bugs in some pre-release OFI changes I’m working on, but I could use a little help processing the resulting XML files.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">First – is there a schema file for the output XML files? (I know about TestResults.xsl but I’m hoping to generate some Excel pivot tables for my managers to view)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Second – I figured out how to exclude individual tests by creating my own testlist files but when I do, the XML output loses information about what type of test is being run. For example, if my test list reads:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">                # do the rma tests<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">                rma<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Then the output will have the form:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><MPITEST><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><NAME>sampletest</NAME><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><ARGS></ARGS><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><NP>2</NP><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="background:yellow;mso-highlight:yellow"><WORKDIR>./rma</WORKDIR></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><STATUS>pass</STATUS><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><TIME>0.123456789</TIME><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"></MPITEST><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">But if my test list reads:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">                # do rma/sampletest<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">                rma/sampletest<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">then the output will be:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><MPITEST><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><NAME>sampletest</NAME><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><ARGS></ARGS><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><NP>2</NP><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="background:yellow;mso-highlight:yellow"><WORKDIR>./</WORKDIR></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><STATUS>pass</STATUS><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><TIME>0.123456789</TIME><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"></MPITEST><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">This makes it a bit harder to quickly group error reports by category.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Any suggestions for retaining the working directory in this case?<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Thanks in advance.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">---<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Michael Heinz<br>
Fabric Software Engineer, Cornelis Networks<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">External recipient <o:p></o:p></p>
</div>
</body>
</html>