unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Rasmus <rasmus@gmx.us>, emacs-devel@gnu.org
Subject: Re: Merging Org tests
Date: Wed, 15 Feb 2017 10:55:46 +0000	[thread overview]
Message-ID: <87shnfiuz1.fsf@russet.org.uk> (raw)
In-Reply-To: <871sv01t2m.fsf@gmx.de> (Michael Albinus's message of "Tue, 14 Feb 2017 20:16:33 +0100")

Michael Albinus <michael.albinus@gmx.de> writes:

> phillip.lord@russet.org.uk (Phillip Lord) writes:
>
>>> Also, how strictly must the suggested file organization be followed?
>>> Skimming "make-test-deps.emacs-lisp" it seems it might have to be followed
>>> rather strictly.
>>
>> It depends what you want. make-test-deps.emacs-lisp is there so that
>> "make check-maybe" can work sanely to run (some approximation of) just
>> those tests that need running. I thought this was a good thing to have,
>> because "make check" takes too long to run in a commit hook.
>
> In general it is a good thing (tm). But there shall be
> improvements. Currently, if you want to run foo-tests.el, it depends on
> foo.el. Often, this is sufficient. But for larger packages, like Org or
> Tramp, this is not sufficient. So it might be good to maintain a list of
> foo*.el files, a test file foo-tests.el shall depend on.

Of course. make-test-deps.emacs-lisp just generates a make file for the
cases where I can infer dependencies based on the name. If there are
special cases, we could just stick the dependencies in to the main
Makefile by hand. Or, alternatively, rewrite make-test-deps.emacs-lisp
to be more intelligent and pull out require forms from the test files.

Phil



  reply	other threads:[~2017-02-15 10:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-14 15:10 Merging Org tests Rasmus
2017-02-14 16:20 ` Eli Zaretskii
2017-02-14 18:13 ` Phillip Lord
2017-02-14 19:16   ` Michael Albinus
2017-02-15 10:55     ` Phillip Lord [this message]
2017-02-15 11:32       ` Michael Albinus

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87shnfiuz1.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=rasmus@gmx.us \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).