.PHONY: test-canonicalize
test-canonicalize:
- test '$(call am__canon,A)' = A
- test '$(call am__canon, b)' = b
- test '$(call am__canon, foo )' = foo
- test '$(call am__canon,$(upper)$(lower)$(digits)_)' = '$(upper)$(lower)$(digits)_'
- test '$(call am__canon,@)' = '@'
- test '$(call am__canon,%)' = '_'
- test '$(call am__canon,.&@!;)' = '__@__'
- test '$(call am__canon,')' = '_'
- test '$(call am__canon,$(dollar))' = '_'
- test '$(call am__canon,$(bslash))' = '_'
- test '$(call am__canon,$(comma))' = '_'
- test '$(call am__canon,$(bslash)$(comma))' = '__'
- test '$(call am__canon,x$(comma)@$(bslash))' = 'x_@_'
+ test '$(call am.util.canon,A)' = A
+ test '$(call am.util.canon, b)' = b
+ test '$(call am.util.canon, foo )' = foo
+ test '$(call am.util.canon,$(upper)$(lower)$(digits)_)' = '$(upper)$(lower)$(digits)_'
+ test '$(call am.util.canon,@)' = '@'
+ test '$(call am.util.canon,%)' = '_'
+ test '$(call am.util.canon,.&@!;)' = '__@__'
+ test '$(call am.util.canon,')' = '_'
+ test '$(call am.util.canon,$(dollar))' = '_'
+ test '$(call am.util.canon,$(bslash))' = '_'
+ test '$(call am.util.canon,$(comma))' = '_'
+ test '$(call am.util.canon,$(bslash)$(comma))' = '__'
+ test '$(call am.util.canon,x$(comma)@$(bslash))' = 'x_@_'
.PHONY: test-newline-1
test-newline-1:
command_ok_ am.util.strip-suffixes $MAKE test-strip-suffixes
command_ok_ am.util.tolower $MAKE test-tolower
command_ok_ am.util.toupper $MAKE test-toupper
-command_ok_ am__canon $MAKE test-canonicalize
+command_ok_ am.util.canon $MAKE test-canonicalize
command_ok_ "am__newline (1)" $MAKE test-newline-1
command_ok_ "am__newline (2)" $MAKE test-newline-2
command_ok_ "am__newline (3)" $MAKE test-newline-3