From: phillip.lord@russet.org.uk (Phillip Lord)
To: emacs-devel@gnu.org
Subject: why does make check run all tests?
Date: Wed, 02 Dec 2015 12:12:04 +0000 [thread overview]
Message-ID: <878u5dcanf.fsf@russet.org.uk> (raw)
I've been looking through the Makefile for the test directory.
Currently, the check target says this.
## Re-run all the tests every time.
check:
-@for f in *.log; do test ! -f $$f || mv $$f $$f~; done
@${MAKE} check-maybe
I realised last night, that my recent changes have actually broken this
(check is now incremental).
This to me seems to be a good thing (although it was accidental). Why
should check run all tests everytime? Especially now that I have added
dependencies between tests and source (so, if you change abbrevs.el,
then abbrevs-test.el will get run).
Should make check just not build incrementally? If you want to run
everything unconditionally, then why not use
make clean check
Or am I missing something obvious? In which case, I will need to restore
the old behaviour for make check and leave make check-maybe as is.
Phil
next reply other threads:[~2015-12-02 12:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-02 12:12 Phillip Lord [this message]
2015-12-02 12:15 ` why does make check run all tests? Dmitry Gutov
2015-12-02 14:13 ` Phillip Lord
2015-12-02 13:07 ` Michael Albinus
2015-12-02 20:31 ` Stephen Leake
2015-12-02 22:03 ` Phillip Lord
2015-12-02 16:58 ` Mathieu Lirzin
2015-12-02 21:49 ` Phillip Lord
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=878u5dcanf.fsf@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--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.