bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: npostavs
Subject: bug#25497: 26.0.50; [PATCH] Add tests for lisp/emacs-lisp/testcover.el
Date: Sat, 28 Jan 2017 12:26:14 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Gemini Lasswell <gazally@runbox.com> writes:

> Eli Zaretskii <eliz@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.

Attachment: v3-0001-Add-tests-for-lisp-emacs-lisp-testcover.el.patch
Description: patch


reply via email to

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