]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] check: refactoring to reduce code duplication
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 7 May 2012 14:57:24 +0000 (16:57 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 16 May 2012 08:04:58 +0000 (10:04 +0200)
commitf11ef5c676fc6fad78a5cb54855789c6d0e47238
treee774575bd91c75a27bc35dea9f8ae17c528d2371
parenta8f56923e0adc291c0b1cdd556fda17645d3b9f1
[ng] check: refactoring to reduce code duplication

* lib/am/check.am (am__strip_suffixes): New internal function, factoring
the code used to "normalize" a list of test scripts (i.e., removing any
registered test extension and any leading $(srcdir) component).
(am__TEST_BASES, am__xfail_test_bases): Redefine using that function.
(am__cooked_tests, am__cooked_xfail_tests): Remove as obsolete.
* t/parallel-tests-empty-tests.sh: Don't bother checking the contents
of $(am__cooked_tests) anymore.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/check.am
t/parallel-tests-empty-tests.sh