test/make/TestMakeBase.gmk
changeset 37030 e047c2f3f510
parent 33054 bcb9f5ea5761
child 41260 4f71f07b30d1
equal deleted inserted replaced
37029:6c79f95cd24b 37030:e047c2f3f510
   252 ifneq ($(call sequence, 5, 15), 5 6 7 8 9 10 11 12 13 14 15)
   252 ifneq ($(call sequence, 5, 15), 5 6 7 8 9 10 11 12 13 14 15)
   253   $(error Sequence 5, 15 should be "5 6 7 8 9 10 11 12 13 14 15", \
   253   $(error Sequence 5, 15 should be "5 6 7 8 9 10 11 12 13 14 15", \
   254       but was $(call sequence, 5, 15))
   254       but was $(call sequence, 5, 15))
   255 endif
   255 endif
   256 
   256 
       
   257 ################################################################################
       
   258 # Test that PathList is safe when called multiple nested times.
       
   259 
       
   260 PATHLIST_INPUT := foo bar baz
       
   261 
       
   262 $(eval $(call assert-equals, \
       
   263     $(call PathList, $(call PathList, $(PATHLIST_INPUT))), \
       
   264     $(call PathList, $(PATHLIST_INPUT)), \
       
   265     PathList call not safe for calling twice))
       
   266 
   257 all: $(TEST_TARGETS)
   267 all: $(TEST_TARGETS)