all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: no gnus registry new dependency on ert?
Date: Wed, 06 Apr 2011 05:03:29 -0500	[thread overview]
Message-ID: <87ipur8zny.fsf@lifelogs.com> (raw)
In-Reply-To: 8762qs3swu.fsf@ericabrahamsen.net

On Wed, 06 Apr 2011 12:28:17 +0800 Eric Abrahamsen <eric@ericabrahamsen.net> wrote: 

EA> The recent registry rewrite has introduced a dependency on the ERT
EA> testing library -- that library is part of emacs 24 but not emacs 23.

Hmm, I'm actually not sure how to provide the ERT tests only if ERT is
available.  Is there an example?  It seems like:

(require 'ert nil t)
...
(when (featurep 'ert)
  (ert-deftest gnus-registry-usage-test ()
  ...
)

should work but I want to be sure it will work properly.

EA> That made for an awkward code update, is there any way to warn people of
EA> what's happening, or even include a local installation of ERT for those
EA> who don't have it already?

All the registry code will run fine without the ERT tests and I don't
think we need to ship ERT with Gnus.  So I'd rather make it optional.

Ted




       reply	other threads:[~2011-04-06 10:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8762qs3swu.fsf@ericabrahamsen.net>
2011-04-06 10:03 ` Ted Zlatanov [this message]
     [not found]   ` <m24o6b667h.fsf@randomsample.de>
2011-04-06 10:54     ` no gnus registry new dependency on ert? Ted Zlatanov
2011-04-06 13:10       ` Ted Zlatanov
2011-04-06 13:28         ` David Engster
2011-04-06 14:26           ` Ted Zlatanov
2011-04-06 14:57             ` David Engster
2011-04-06 15:00               ` Ted Zlatanov
2011-04-06 15:03               ` David Engster
2011-04-06 15:51                 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipur8zny.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.