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)