# Helper function to add a configuration template function(add_template name template labels) set(CNF_TEMPLATES "${CNF_TEMPLATES}{\"${name}\",\"${template}\", \"${labels}\"}," CACHE INTERNAL "") endfunction() # Helper function to add a configuration template function(add_template_manual name template) add_template(${name} ${template} "${name}.cpp;${name};${template};LABELS;CONFIG") endfunction() # Default test timeout set(TIMEOUT 900) # This functions adds a source file as an executable, links that file against # the common test core and creates a test from it. The first parameter is the # source file, the second is the name of the executable and the test and the # last parameter is the template suffix of the test. The template should follow # the following naming policy: `maxscale.cnf.template.