| 1 |
# Copyright (c) 2022-2025, PostgreSQL Global Development Group |
| 2 |
|
| 3 |
pgc_files = [ |
| 4 |
'charfuncs', |
| 5 |
'dec_test', |
| 6 |
'describe', |
| 7 |
'intoasc', |
| 8 |
'rfmtdate', |
| 9 |
'rfmtlong', |
| 10 |
'rnull', |
| 11 |
'sqlda', |
| 12 |
'test_informix', |
| 13 |
'test_informix2', |
| 14 |
] |
| 15 |
|
| 16 |
pgc_extra_flags = { |
| 17 |
'rnull': ['-r', 'no_indicator',], |
| 18 |
} |
| 19 |
|
| 20 |
foreach pgc_file : pgc_files |
| 21 |
exe_input = custom_target('@[email protected]'.format(pgc_file), |
| 22 |
input: '@[email protected]'.format(pgc_file), |
| 23 |
command: ecpg_preproc_test_command_start + |
| 24 |
['-C', 'INFORMIX',] + |
| 25 |
pgc_extra_flags.get(pgc_file, []) + |
| 26 |
ecpg_preproc_test_command_end, |
| 27 |
kwargs: ecpg_preproc_kw, |
| 28 |
) |
| 29 |
|
| 30 |
ecpg_test_dependencies += executable(pgc_file, |
| 31 |
exe_input, |
| 32 |
kwargs: ecpg_test_exec_kw, |
| 33 |
) |
| 34 |
endforeach |