automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 13/19] [ng] rename: am__handle_per_suffix_test -> a


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 13/19] [ng] rename: am__handle_per_suffix_test -> am.test-suite.handle-suffix
Date: Fri, 27 Jul 2012 15:10:30 +0200

Signed-off-by: Stefano Lattarini <address@hidden>
---
 lib/am/parallel-tests.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/am/parallel-tests.am b/lib/am/parallel-tests.am
index 89f6bdc..4fab059 100644
--- a/lib/am/parallel-tests.am
+++ b/lib/am/parallel-tests.am
@@ -66,7 +66,7 @@ am.test-suite.runtest = \
 am__tpfx = \
   $(if $1,$(call am.util.toupper,$(patsubst .%,%_,$1)))
 
-!define am__handle_per_suffix_test
+!define am.test-suite.handle-suffix
 !
 ## FIXME: This will pick up the default from the environment; are we sure
 ## FIXME: we want that?
@@ -82,7 +82,7 @@ am__tpfx = \
 !endif # defined EXEEXT
 !endif # am.conf.handle-exeext = yes
 !
-!endef # am__handle_per_suffix_test
+!endef # am.test-suite.handle-suffix
 !
 ## FIXME: this will pick up the default from the environment; are we sure
 ## FIXME: we want that?
@@ -90,14 +90,14 @@ am__tpfx = \
 !$(foreach e,$(filter-out .%,$(TEST_EXTENSIONS)),\
 !     $(call am.error,invalid test extension: '$e'))
 !$(foreach e,$(TEST_EXTENSIONS), \
-!  $(eval $(call am__handle_per_suffix_test,$e)))
+!  $(eval $(call am.test-suite.handle-suffix,$e)))
 ## It is *imperative* that the "empty" suffix goes last.  Otherwise, a
 ## declaration like "TESTS = all.test" would cause GNU make to mistakenly
 ## try to build the 'all.log' and 'all.trs' files from a non-existent
 ## 'all' program (because the Makefile contains an explicit 'all' target,
 ## albeit .PHONY), rather than from the 'all.test' script, thus causing
 ## all sort of mishaps and confusion.
-!$(eval $(call am__handle_per_suffix_test))
+!$(eval $(call am.test-suite.handle-suffix))
 
 # The names of the given tests scripts with any possible registered
 # test extension removed, as well as any leading '$(srcdir)' component
-- 
1.7.12.rc0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]