[Top][All Lists]

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

why does make check run all tests?

From: Phillip Lord
Subject: why does make check run all tests?
Date: Wed, 02 Dec 2015 12:12:04 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

I've been looking through the Makefile for the test directory.

Currently, the check target says this.

## Re-run all the tests every time.
        address@hidden 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.


reply via email to

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