From: Stefano Lattarini Date: Mon, 30 Jul 2012 08:33:28 +0000 (+0200) Subject: [ng] rename: am__check_cook_with_exeext -> am.test-suite.cook-with-exeext X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de0e2a842be1c7ae4f4ab6ce1f47cc0f8fb4543e;p=thirdparty%2Fautomake.git [ng] rename: am__check_cook_with_exeext -> am.test-suite.cook-with-exeext * lib/am/serial-tests.am: Here. Also, rename 'am__check_cook_with_exeext_1' as 'am.test-suite.cook-with-exeext.helper'. Signed-off-by: Stefano Lattarini --- diff --git a/lib/am/serial-tests.am b/lib/am/serial-tests.am index 7781fdaaa..3170c2716 100644 --- a/lib/am/serial-tests.am +++ b/lib/am/serial-tests.am @@ -18,19 +18,21 @@ ifdef EXEEXT ## This is suboptimal, but we need to preserve the order of $(TESTS). -am__check_cook_with_exeext_1 = \ +am.test-suite.cook-with-exeext.helper = \ $(if $(filter $(am.all-progs), $1), $1$(EXEEXT), $1) -am__check_cook_with_exeext = \ - $(strip $(foreach t, $1, $(call $(0)_1, $t))) +am.test-suite.cook-with-exeext = \ + $(strip $(foreach t, $1, $(call $0.helper, $t))) else -am__check_cook_with_exeext = $(strip $1) +am.test-suite.cook-with-exeext = $(strip $1) endif # TESTS can contain compiled programs, in which case we might have # to account for $(EXEEXT) appending. For matching purposes, we # need to adjust XFAIL_TESTS as well. -am__cooked_tests = $(call am__check_cook_with_exeext, $(TESTS)) -am__cooked_xfail_tests = $(call am__check_cook_with_exeext, $(XFAIL_TESTS)) +am__cooked_tests = \ + $(call am.test-suite.cook-with-exeext, $(TESTS)) +am__cooked_xfail_tests = \ + $(call am.test-suite.cook-with-exeext, $(XFAIL_TESTS)) .PHONY: check-TESTS check-TESTS: $(am__cooked_tests)