<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 17, 2017 at 4:31 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Tue, 17 Jan 2017, Matthew Knepley wrote:<br>
<br>
</span><span class="gmail-">> Also, how do I put comments inside these blocks to tell me what the test is<br>
> about?<br>
<br>
</span>Looks like everything other than the define format is ignored..</blockquote><div><br></div><div>It does not look that way to me:</div><div><br></div><div><div>/usr/bin/python ./config/gmakegentest.py --petsc-arch=arch-c-exodus-master</div><div>Traceback (most recent call last):</div><div>  File "./config/gmakegentest.py", line 733, in <module></div><div>    main(petsc_arch=opts.petsc_arch, output=opts.output, verbose=opts.verbose, single_ex=opts.single_executable)</div><div>  File "./config/gmakegentest.py", line 718, in main</div><div>    dataDict=pEx.walktree(os.path.join(pEx.petsc_dir,'src'),action="genPetscTests")</div><div>  File "./config/gmakegentest.py", line 613, in walktree</div><div>    eval("self."+action+"(root,dirs,files,dataDict)")</div><div>  File "<string>", line 1, in <module></div><div>  File "./config/gmakegentest.py", line 593, in genPetscTests</div><div>    dataDict[root].update(testparse.parseTestFile(fullex))</div><div>  File "/PETSc3/petsc/petsc-dev/config/testparse.py", line 175, in parseTestFile</div><div>    testDict[basename]=parseTests(testString,srcfile)</div><div>  File "/PETSc3/petsc/petsc-dev/config/testparse.py", line 140, in parseTests</div><div>    testname,subdict=parseTest(test,srcfile)</div><div>  File "/PETSc3/petsc/petsc-dev/config/testparse.py", line 102, in parseTest</div><div>    val=line.split(":")[1].strip()</div><div>IndexError: list index out of range</div></div><div><br></div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>