This folder contains TPL tests. The tpl_tests.txt
automates these tests and is used by the make check-tpl
directive.
To add a test, insert an entry with the format filename,is_sql,expected_return_value
to the tpl_tests.txt
file.
The is_sql
flag indicates whether an execution context is needed to run the file. For example:
simple.tpl,false,44
indicates that thesimple.tpl
file does not need an execution context and should return44
.scan-table.tpl,true,500
indicates that thescan-table.tpl
file needs an execution context and should return500
.