|
From: Julian S. <js...@ac...> - 2008-03-02 21:43:30
|
> > +- Discuss on the Valgrind mailing list the modificaiton of > > tests/vg_regtest + such that it ignores files ending in ~ or #. > > Ok, here we go :) Is this an emacs temporary file thing? Ah yes, this is a good point. I remember being totally confused by this, and wasting a lot of time trying to figure out what was going on. Then I forgot about it :-( Yes it is: when editing a file x.y, emacs creates x.y~ as a backup and #x.y# as auto-saves. Maybe vi does similar? So when you edit by hand a .std*.exp file to change the expected output, you get a .std*.exp~ file, which matches -- so the regtest still appears to work even if the tool's output hasn't changed. Perhaps it would be useful for vg_regtest to warn about and ignore *exp files with ~ and # in their names. What about vi, though? J |