]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] parallel-tests: reduce code duplication a little
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 15 Apr 2012 15:27:58 +0000 (17:27 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 16 Apr 2012 20:37:46 +0000 (22:37 +0200)
commit00a623a2865fcd56341b69aa81707fce13f303d7
tree0c3b9d2cd4928feb74c13776d8f39b673d9d4179
parentbb31e232cb75989c1c7cc8cdb91c10954bbb3333
[ng] parallel-tests: reduce code duplication a little

Use more GNU make features and built-ins, and less automake-time
pre-processing, in order to reduce code duplication and improve
clarity.

* lib/am/check2.am: Define a new custom make function 'am__runtest', used
to simplify rules in here, and reduce code duplication among them.
* automake.in (handle_per_suffix_test): Update and simplify accordingly.
As a result, the automake-defined 'LOG_COMPILE' variables are not defined
anymore, which we should mention ...
* NG-NEWS: ... in here.
* t/test-extensions.sh: Adjust outdated grepping checks.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NG-NEWS
automake.in
lib/am/check2.am
t/test-extensions.sh