summaryrefslogtreecommitdiff
path: root/NG-NEWS
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-05-08 11:23:38 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-05-16 10:04:59 +0200
commit02f42e6e18ff489d0374c693fd1c3c45b6d78ddd (patch)
treeb4dba4540b06957ad0a01a183a16d13545497850 /NG-NEWS
parent8a2df0d1fe3c865a391ab2c88ca9c14c0be57c89 (diff)
downloadautomake-02f42e6e18ff489d0374c693fd1c3c45b6d78ddd.tar.gz
[ng] check: AM_LAZY_CHECK="yes", not RECHECK_TESTS="", for lazy re-runs
This causes a backward-incompatibility with mainline automake, but will also offer a cleaner API and a possibility to further simplify the implementation of the 'check' and 'recheck' targets in the future. * doc/automake.texi, NG-NEWS, t/README: Update. * lib/am/check.am (am__remove_if_not_lazy_check): New internal function, expanding to shell code that removes the given list of files unless the 'AM_LAZY_CHECK' variable is set to "yes". (check-TESTS): Use it instead of the contents of 'RECHECK_LOGS' top decide which .log and .trs files to remove. (RECHECK_LOGS): Don't define anymore. * t/parallel-tests.sh: Adjust. * t/parallel-tests-extra-programs.sh: Likewise. * t/test-trs-recover.sh: Likewise. * t/tap-recheck-logs.sh: Rename ... * t/tap-lazy-check.sh: ... to this, and adjust. * defs: Don't unset 'RECHECK_LOGS'; unset 'AM_LAZY_CHECK' instead. * syntax-checks.mk: Adjust some comments. (sc_no_RECHECK_LOGS): New maintainer check, guard against uses of the now-obsolete 'RECHECK_LOGS' variable. (syntax_check_rules): Add it. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'NG-NEWS')
-rw-r--r--NG-NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/NG-NEWS b/NG-NEWS
index 1f638b6db..b28fcccd6 100644
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -113,6 +113,16 @@ Parallel testsuite harness
# "foo.test", "bar.test$(EXEEXT)" and "baz$(EXEEXT)".
make check TESTS="foo bar baz"
+* The use of 'RECHECK_LOGS' is not supported anymore. Thus, to lazily
+ re-run only the tests whose '.trs' or '.log' files are out-of-date,
+ one must now use:
+
+ make check AM_LAZY_CHECK=yes # New valid API.
+
+ instead of:
+
+ make check RECHECK_LOGS="" # Old API, won't work anymore.
+
Pattern rules and suffix rules
==============================