* 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 <[email protected]> --- lib/am/serial-tests.am | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/am/serial-tests.am b/lib/am/serial-tests.am index 7781fda..3170c27 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) -- 1.7.12.rc0
