| 1 |
# Copyright (c) 2022-2025, PostgreSQL Global Development Group |
| 2 |
|
| 3 |
pgc_files = [ |
| 4 |
'test1', |
| 5 |
'test2', |
| 6 |
'test3', |
| 7 |
'test4', |
| 8 |
'test5', |
| 9 |
'test6', |
| 10 |
] |
| 11 |
|
| 12 |
foreach pgc_file : pgc_files |
| 13 |
exe_input = custom_target('@[email protected]'.format(pgc_file), |
| 14 |
input: '@[email protected]'.format(pgc_file), |
| 15 |
command: ecpg_preproc_test_command_start + ecpg_preproc_test_command_end, |
| 16 |
kwargs: ecpg_preproc_kw, |
| 17 |
) |
| 18 |
|
| 19 |
ecpg_test_dependencies += executable(pgc_file, |
| 20 |
exe_input, |
| 21 |
kwargs: ecpg_test_exec_kw, |
| 22 |
) |
| 23 |
endforeach |