[petsc-dev] Test parsers is parsing *.c~ files

Smith, Barry F. bsmith at mcs.anl.gov
Thu Mar 15 13:35:55 CDT 2018



> On Mar 15, 2018, at 1:22 PM, Scott Kruger <kruger at txcorp.com> wrote:
> 
> 
> 
> Yes, as you surmise Barry, I am a vim user.
> 
> Based on earlier comments, I have this in config/gmakegentest.py:
> 
>        # Ignore emacs and other temporary files
>        if exfile.startswith("."): continue
>        if exfile.startswith("#"): continue
> 
> I assume that this:
>        if exfile.endwith("~"): continue
> 
> will work.   Do folks see any problems?

   No, there may be others also.

> 
> Scott
> 
> 
> 
> On 3/14/18 10:05 PM, Smith, Barry F. wrote:
>>   This drives me nuts also, obviously Scott does not use Emacs or he would have make sure long ago that the test harness would not trip over the crumbs of Emacs.
>>    Matt, You'll need to share the exact forms to of the crumbs that are confusing the test harness.
>>    Barry
>>> On Mar 14, 2018, at 11:03 PM, Matthew Knepley <knepley at gmail.com> wrote:
>>> 
>>> This took me forever to find. The parser is parsing emacs backups and overwriting some tests.
>>> 
>>>    Matt
>>> 
>>> -- 
>>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
>>> -- Norbert Wiener
>>> 
>>> https://www.cse.buffalo.edu/~knepley/
> 
> -- 
> Tech-X Corporation               kruger at txcorp.com
> 5621 Arapahoe Ave, Suite A       Phone: (720) 974-1841
> Boulder, CO 80303                Fax:   (303) 448-7756



More information about the petsc-dev mailing list