GNU bug report logs - #25497
26.0.50; [PATCH] Add tests for lisp/emacs-lisp/testcover.el

Previous Next

Package: emacs;

Reported by: Gemini Lasswell <gazally <at> runbox.com>

Date: Fri, 20 Jan 2017 23:53:02 UTC

Severity: wishlist

Tags: patch

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Gemini Lasswell <gazally <at> runbox.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 25497 <at> debbugs.gnu.org
Subject: bug#25497: 26.0.50; [PATCH] Add tests for lisp/emacs-lisp/testcover.el
Date: Sat, 28 Jan 2017 12:26:14 -0500
[Message part 1 (text/plain, inline)]
Gemini Lasswell <gazally <at> runbox.com> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> Thanks.  When I run the tests, this doesn't compile for me:
>
> Sorry I missed that. It doesn't compile for me either, nor does it break
> running the tests on my machine although it looks like it's supposed to,
> and I was in the habit of just looking at the log file not make's
> output.
>
> Since the way testcover-tests.el builds tests depends on the runtime
> environment to find testcases.el, the simplest fix is to add
> no-byte-compile to the file local variables which I have done in this
> version:
>
>
>
> If it's important to be able to run the tests compiled, I could move all
> the testcases into strings in testcover-tests.el, but they are easier to
> read and edit when in their own file.

I suggest instead using eval-and-compile, as in the attached patch.

[v3-0001-Add-tests-for-lisp-emacs-lisp-testcover.el.patch (text/x-diff, attachment)]

This bug report was last modified 8 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.