emacs-devel
[Top][All Lists]
Advanced

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

Gnus ERT tests inside Emacs (was: client certs and CRL lists for GnuTLS)


From: Ted Zlatanov
Subject: Gnus ERT tests inside Emacs (was: client certs and CRL lists for GnuTLS)
Date: Mon, 09 May 2011 10:30:56 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Mon, 09 May 2011 11:00:12 -0400 Chong Yidong <address@hidden> wrote: 

CY> Ted Zlatanov <address@hidden> writes:
CY> If you have ERT tests in the Gnus repository, could you arrage for
CY> these files to be placed into (or mirrored into) the Emacs
CY> repository's test/automated directory?  Then they'll be run by
CY> "make check", and will show up in the Hydra coverage build.
>> 
>> They are embedded in the gnus/*registry.el files and I'd rather not
>> extract them into separate files.  Could that work with the Emacs ERT
>> tests?

CY> What's the rationale for not putting tests in separate files?  If it has
CY> something to do with the way Gnus is developed, I can live with that,
CY> though tests for other part of Emacs should go into test/, instead of
CY> following this example.

It's more convenient IMO.  The ERT manual didn't specify tests had to be
separate, either.  For Gnus we have my tests internalized and some other
tests external...  I hope we're not forced to use just one style if
there's no technical reason for it.

CY> As for Gnus, please add a file test/automated/gnus-tests.el, and have it
CY> (require 'gnus-registry) and any other Gnus files that contain ERT
CY> tests.  Then `make check' will be able to find those tests.

I'll do mine but am not sure if the other Gnus tests (which David
Engster wrote IIRC) will work with the Emacs ERT run.  David, WDYT?  Do
you have anything that only works inside Gnus?

Ted




reply via email to

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