texinfo-devel
[Top][All Lists]
Advanced

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

Re: texi2html tests are huge


From: Patrice Dumas
Subject: Re: texi2html tests are huge
Date: Sun, 29 Jan 2012 14:11:07 +0100
User-agent: Mutt/1.4.2.2i

On Sun, Jan 15, 2012 at 10:47:56AM +0100, Stefano Lattarini wrote:
> 
> What I think is that the above workaround is too convoluted and too brittle.
> The better way to proceed IMHO is to use an approach similar to what GNU
> coreutils does; i.e., expensive tests are only run when a proper environment
> variable, say 'RUN_EXPENSIVE_TESTS', is set to "yes" (and they are SKIP'd
> otherwise).  So those tests won't be executed when a common user invokes
> "make check", but you will be able to invoke them with a simple:
> 
>   RUN_EXPENSIVE_TESTS=yes make check
> 
> For more information, take a look at the coreutils Git repository, especially
> the file 'tests/init.cfg'.

I did something similar but very much simpler.  There is some code 
duplication, but it doesn't really worry me...

Thanks!

-- 
Pat



reply via email to

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