[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERT indentation testing

From: Stefan Monnier
Subject: Re: ERT indentation testing
Date: Thu, 19 May 2011 08:56:07 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> This can be done with ERT, right?  A bunch of .cc files with file-local
>>> variables could be indented "properly" for those variables.  Then the
>>> test logic for each file is 
SM> [...]
>>> Plus, of course, it's not limited to .cc files.  It would work just as
>>> well for .c, .pl, .el, whatever.

SM> Yup, we already have such files in test/indent.

> Yes, I see that now (I didn't see the commit for those, cool!)

> We should have .c and .cc files with the major indentation styles
> specified as file-local variables, plus .ini, Perl, Java, Python, and of
> course Lisp (CL and ELisp).  Should I add those?

Feel free.  I only added the ones I actually worked on.  BTW, the
octave.m testcase is too long for that kind of test (although the length
was instrumental in fixing some performance bugs).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]