| # Copyright (c) 2022-2023, PostgreSQL Global Development Group | |
| pgc_files = [ | |
| 'test1', | |
| 'test2', | |
| 'test3', | |
| 'test4', | |
| 'test5', | |
| ] | |
| foreach pgc_file : pgc_files | |
| exe_input = custom_target('@0@.c'.format(pgc_file), | |
| input: '@0@.pgc'.format(pgc_file), | |
| command: ecpg_preproc_test_command_start + ecpg_preproc_test_command_end, | |
| kwargs: ecpg_preproc_kw, | |
| ) | |
| ecpg_test_dependencies += executable(pgc_file, | |
| exe_input, | |
| kwargs: ecpg_test_exec_kw, | |
| ) | |
| endforeach |