make/RunTestsPrebuilt.gmk
branchihse-testmakefiles-branch
changeset 55919 0ffb2cce1b19
parent 55914 dda999e8814c
child 55931 76a784951142
equal deleted inserted replaced
55918:5d6c5aa2fa19 55919:0ffb2cce1b19
    83 # Create an ephemeral spec file
    83 # Create an ephemeral spec file
    84 #
    84 #
    85 # $1: The output file name
    85 # $1: The output file name
    86 # $2..$N: The lines to output to the file
    86 # $2..$N: The lines to output to the file
    87 define CreateNewSpec
    87 define CreateNewSpec
    88   $(if $(strip $(16)), \
    88   $(if $(strip $(26)), \
    89     $(error Internal makefile error: \
    89     $(error Internal makefile error: \
    90       Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
    90       Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
    91   ) \
    91   ) \
    92   $(shell rm -f $1) \
    92   $(shell rm -f $1) \
    93   $(foreach i, 2 3 4 5 6 7 8 9 10 11 12 13 14 15, \
    93   $(foreach i, 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25, \
    94     $(if $(strip $($i)), \
    94     $(if $(strip $($i)), \
    95       $(call AppendFile, $(strip $($i)), $1) \
    95       $(call AppendFile, $(strip $($i)), $1) \
    96     ) \
    96     ) \
    97   )
    97   )
    98 endef
    98 endef