# Helper function to add a configuration template function(add_template name template) set(CNF_TEMPLATES "${CNF_TEMPLATES}{\"${name}\",\"${template}\"}," CACHE INTERNAL "") 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.