test/make/TestMakeBase.gmk
changeset 29312 f3f859137ce6
parent 28607 380f123263d8
child 30095 0034766ccb09
equal deleted inserted replaced
29311:bc685175f836 29312:f3f859137ce6
   180 endif
   180 endif
   181 
   181 
   182 TEST_TARGETS += test-vardep
   182 TEST_TARGETS += test-vardep
   183 
   183 
   184 ################################################################################
   184 ################################################################################
       
   185 # Test sequence
       
   186 
       
   187 ifneq ($(call sequence, 1, 1), 1)
       
   188   $(error Sequence 1, 1 should be "1", but was $(call sequence, 1, 1))
       
   189 endif
       
   190 
       
   191 ifneq ($(call sequence, 2, 3), 2 3)
       
   192   $(error Sequence 2, 3 should be "2 3", but was $(call sequence, 2, 3))
       
   193 endif
       
   194 
       
   195 ifneq ($(call sequence, 4, 9), 4 5 6 7 8 9)
       
   196   $(error Sequence 4, 9 should be "4 5 6 7 8 9", but was $(call sequence, 4, 9))
       
   197 endif
       
   198 
       
   199 ifneq ($(call sequence, 5, 15), 5 6 7 8 9 10 11 12 13 14 15)
       
   200   $(error Sequence 5, 15 should be "5 6 7 8 9 10 11 12 13 14 15", \
       
   201       but was $(call sequence, 5, 15))
       
   202 endif
   185 
   203 
   186 all: $(TEST_TARGETS)
   204 all: $(TEST_TARGETS)