exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

meson.build (25540B)


      1 # This build file is in the public domain
      2 
      3 #clean-local:
      4 #	rm -rf report*
      5 
      6 configure_file(
      7     input: 'taler-unified-setup.sh',
      8     output: 'taler-unified-setup.sh',
      9     copy: true,
     10     install: true,
     11     install_dir: get_option('bindir'),
     12 )
     13 
     14 # Libraries
     15 
     16 libtalertesting_la_SOURCES = [
     17     'testing_api_cmd_age_withdraw.c',
     18     'testing_api_cmd_auditor_add_denom_sig.c',
     19     'testing_api_cmd_auditor_add.c',
     20     'testing_api_cmd_auditor_del.c',
     21     'testing_api_cmd_auditor_deposit_confirmation.c',
     22     'testing_api_cmd_auditor_exec_auditor.c',
     23     'testing_api_cmd_auditor_exec_auditor_dbinit.c',
     24     'testing_api_cmd_bank_account_token.c',
     25     'testing_api_cmd_bank_admin_add_incoming.c',
     26     'testing_api_cmd_bank_admin_add_kycauth.c',
     27     'testing_api_cmd_bank_check.c',
     28     'testing_api_cmd_bank_admin_check.c',
     29     'testing_api_cmd_bank_check_empty.c',
     30     'testing_api_cmd_bank_history_credit.c',
     31     'testing_api_cmd_bank_history_debit.c',
     32     'testing_api_cmd_bank_transfer.c',
     33     'testing_api_cmd_batch.c',
     34     'testing_api_cmd_batch_deposit.c',
     35     'testing_api_cmd_batch_withdraw.c',
     36     'testing_api_cmd_check_aml_decisions.c',
     37     'testing_api_cmd_coin_history.c',
     38     'testing_api_cmd_common.c',
     39     'testing_api_cmd_contract_get.c',
     40     'testing_api_cmd_deposit.c',
     41     'testing_api_cmd_deposits_get.c',
     42     'testing_api_cmd_exec_aggregator.c',
     43     'testing_api_cmd_exec_auditor-offline.c',
     44     'testing_api_cmd_exec_closer.c',
     45     'testing_api_cmd_exec_expire.c',
     46     'testing_api_cmd_exec_router.c',
     47     'testing_api_cmd_exec_transfer.c',
     48     'testing_api_cmd_exec_wget.c',
     49     'testing_api_cmd_exec_wirewatch.c',
     50     'testing_api_cmd_get_active_legitimization_measures.c',
     51     'testing_api_cmd_get_auditor.c',
     52     'testing_api_cmd_get_exchange.c',
     53     'testing_api_cmd_get_kyc_info.c',
     54     'testing_api_cmd_insert_deposit.c',
     55     'testing_api_cmd_kyc_check_get.c',
     56     'testing_api_cmd_kyc_proof.c',
     57     'testing_api_cmd_kyc_wallet_get.c',
     58     'testing_api_cmd_oauth.c',
     59     'testing_api_cmd_offline_sign_global_fees.c',
     60     'testing_api_cmd_offline_sign_wire_fees.c',
     61     'testing_api_cmd_offline_sign_keys.c',
     62     'testing_api_cmd_offline_sign_extensions.c',
     63     'testing_api_cmd_post_kyc_form.c',
     64     'testing_api_cmd_post_kyc_start.c',
     65     'testing_api_cmd_purse_create_deposit.c',
     66     'testing_api_cmd_purse_delete.c',
     67     'testing_api_cmd_purse_deposit.c',
     68     'testing_api_cmd_purse_get.c',
     69     'testing_api_cmd_purse_merge.c',
     70     'testing_api_cmd_recoup.c',
     71     'testing_api_cmd_recoup_refresh.c',
     72     'testing_api_cmd_refund.c',
     73     'testing_api_cmd_refresh.c',
     74     'testing_api_cmd_reserve_attest.c',
     75     'testing_api_cmd_reserve_close.c',
     76     'testing_api_cmd_reserve_get.c',
     77     'testing_api_cmd_reserve_get_attestable.c',
     78     'testing_api_cmd_reserve_history.c',
     79     'testing_api_cmd_reserve_open.c',
     80     'testing_api_cmd_reserve_purse.c',
     81     'testing_api_cmd_revoke.c',
     82     'testing_api_cmd_revoke_denom_key.c',
     83     'testing_api_cmd_revoke_sign_key.c',
     84     'testing_api_cmd_run_fakebank.c',
     85     'testing_api_cmd_set_officer.c',
     86     'testing_api_cmd_set_wire_fee.c',
     87     'testing_api_cmd_signal.c',
     88     'testing_api_cmd_sleep.c',
     89     'testing_api_cmd_stat.c',
     90     'testing_api_cmd_system_start.c',
     91     'testing_api_cmd_take_aml_decision.c',
     92     'testing_api_cmd_transfer_get.c',
     93     'testing_api_cmd_wait.c',
     94     'testing_api_cmd_wire_add.c',
     95     'testing_api_cmd_wire_del.c',
     96     'testing_api_cmd_withdraw.c',
     97     'testing_api_loop.c',
     98     'testing_api_misc.c',
     99     'testing_api_traits.c',
    100 ]
    101 
    102 libtalertesting = library(
    103     'talertesting',
    104     libtalertesting_la_SOURCES,
    105     soversion: solibversions['libtalertesting']['soversion'],
    106     version: solibversions['libtalertesting']['soversion'],
    107     install_rpath: rpath_option,
    108     dependencies: [
    109         libtalerauditor_dep,
    110         libtalerexchange_dep,
    111         libtalerexchangedb_dep,
    112         libtalermhd_dep,
    113         libtalerextensions_dep,
    114         libtalerbank_dep,
    115         libtalerfakebank_dep,
    116         libtalerkyclogic_dep,
    117         libtalerjson_dep,
    118         libtalerutil_dep,
    119         gnunetutil_dep,
    120         gnunetcurl_dep,
    121         gnunetjson_dep,
    122         json_dep,
    123         curl_dep,
    124         mhd_dep,
    125     ],
    126     include_directories: [incdir, configuration_inc],
    127     install: true,
    128     install_dir: get_option('libdir'),
    129 )
    130 
    131 libtalertesting_dep = declare_dependency(link_with: libtalertesting)
    132 pkg.generate(
    133     libtalertesting,
    134     url: 'https://taler.net',
    135     description: 'GNU Taler testing library',
    136 )
    137 
    138 libtalertwistertesting_la_SOURCES = [
    139     'testing_api_twister_helpers.c',
    140     'testing_api_cmd_twister_exec_client.c',
    141 ]
    142 
    143 if twister_dep.found()
    144     libtalertwistertesting = library(
    145         'talertwistertesting',
    146         libtalertwistertesting_la_SOURCES,
    147         soversion: solibversions['libtalertwistertesting']['soversion'],
    148         version: solibversions['libtalertwistertesting']['soversion'],
    149         install_rpath: rpath_option,
    150         dependencies: [
    151             libtalertesting_dep,
    152             libtalerbank_dep,
    153             libtalerfakebank_dep,
    154             libtalerauditor_dep,
    155             libtalerexchange_dep,
    156             libtalerexchangedb_dep,
    157             libtalerextensions_dep,
    158             libtalermhd_dep,
    159             libtalerjson_dep,
    160             libtalerutil_dep,
    161             twister_dep,
    162             gnunetjson_dep,
    163             gnunetcurl_dep,
    164             gnunetutil_dep,
    165             json_dep,
    166             mhd_dep,
    167             curl_dep,
    168         ],
    169         include_directories: [incdir, configuration_inc],
    170         install: true,
    171         install_dir: get_option('libdir'),
    172     )
    173 
    174     libtalertwistertesting_dep = declare_dependency(
    175         link_with: libtalertwistertesting,
    176     )
    177     pkg.generate(
    178         libtalertesting,
    179         url: 'https://taler.net',
    180         description: 'GNU Taler twisted testing library',
    181     )
    182 
    183 endif
    184 
    185 
    186 # Test cases
    187 
    188 #check_PROGRAMS = \
    189 #  test_auditor_api_version \
    190 #  test_auditor_api_cs \
    191 #  test_auditor_api_rsa \
    192 #  test_bank_api_with_fakebank \
    193 #  test_bank_api_with_nexus \
    194 #  test_exchange_api_cs \
    195 #  test_exchange_api_rsa \
    196 #  test_exchange_api_age_restriction_cs \
    197 #  test_exchange_api_age_restriction_rsa \
    198 #  test_exchange_api_keys_cherry_picking_cs \
    199 #  test_exchange_api_keys_cherry_picking_rsa \
    200 #  test_exchange_api_overlapping_keys_bug_cs \
    201 #  test_exchange_api_overlapping_keys_bug_rsa \
    202 #  test_exchange_management_api_cs \
    203 #  test_exchange_management_api_rsa \
    204 #  test_kyc_api \
    205 #  test_taler_exchange_aggregator-postgres \
    206 #  test_taler_exchange_wirewatch-postgres \
    207 #  test_exchange_p2p_cs \
    208 #  test_exchange_p2p_rsa
    209 #if HAVE_TWISTER
    210 #  check_PROGRAMS += \
    211 #    test_exchange_api_twisted_cs \
    212 #    test_exchange_api_twisted_rsa \
    213 #    test_bank_api_with_fakebank_twisted
    214 #endif
    215 #
    216 ## FIXME_9828
    217 ##  test_exchange_api_revocation_cs
    218 ##  test_exchange_api_revocation_rsa
    219 #
    220 #check_SCRIPTS = \
    221 #  test-sanctions.sh \
    222 #  test-exchange-taler-harness.sh
    223 #
    224 
    225 test_auditor_api_cs = executable(
    226     'test_auditor_api_cs',
    227     ['test_auditor_api.c'],
    228     dependencies: [
    229         libtalertesting_dep,
    230         libtalerauditor_dep,
    231         libtalerexchange_dep,
    232         libtalerbank_dep,
    233         libtalerfakebank_dep,
    234         libtalerjson_dep,
    235         libtalerutil_dep,
    236         json_dep,
    237         gcrypt_dep,
    238         gnunetutil_dep,
    239         gnunetcurl_dep,
    240     ],
    241     include_directories: [incdir, configuration_inc],
    242     build_by_default: false,
    243     install: false,
    244 )
    245 test(
    246     'test_auditor_api_cs',
    247     test_auditor_api_cs,
    248     workdir: meson.current_build_dir(),
    249     suite: ['testing', 'integrationtests'],
    250     is_parallel: false,
    251 )
    252 
    253 
    254 test_auditor_api_rsa = executable(
    255     'test_auditor_api_rsa',
    256     ['test_auditor_api.c'],
    257     dependencies: [
    258         libtalertesting_dep,
    259         libtalerauditor_dep,
    260         libtalerexchange_dep,
    261         libtalerbank_dep,
    262         libtalerfakebank_dep,
    263         libtalerjson_dep,
    264         libtalerutil_dep,
    265         json_dep,
    266         gcrypt_dep,
    267         gnunetutil_dep,
    268         gnunetcurl_dep,
    269     ],
    270     include_directories: [incdir, configuration_inc],
    271     build_by_default: false,
    272     install: false,
    273 )
    274 test(
    275     'test_auditor_api_rsa',
    276     test_auditor_api_rsa,
    277     workdir: meson.current_build_dir(),
    278     suite: ['testing', 'integrationtests'],
    279     is_parallel: false,
    280 )
    281 
    282 
    283 test_auditor_api_version = executable(
    284     'test_auditor_api_version',
    285     ['test_auditor_api_version.c'],
    286     dependencies: [
    287         libtalertesting_dep,
    288         libtalerauditor_dep,
    289         libtalerutil_dep,
    290         json_dep,
    291         gcrypt_dep,
    292         gnunetutil_dep,
    293         gnunetcurl_dep,
    294     ],
    295     include_directories: [incdir, configuration_inc],
    296     build_by_default: false,
    297     install: false,
    298 )
    299 test(
    300     'test_auditor_api_version',
    301     test_auditor_api_version,
    302     workdir: meson.current_build_dir(),
    303     suite: ['testing', 'integrationtests'],
    304     is_parallel: false,
    305 )
    306 
    307 
    308 test_bank_api_with_nexus = executable(
    309     'test_bank_api_with_nexus',
    310     ['test_bank_api.c'],
    311     dependencies: [
    312         libtalertesting_dep,
    313         libtalerexchange_dep,
    314         libtalerbank_dep,
    315         gnunetutil_dep,
    316     ],
    317     include_directories: [incdir, configuration_inc],
    318     build_by_default: false,
    319     install: false,
    320 )
    321 test(
    322     'test_bank_api_with_nexus',
    323     test_bank_api_with_nexus,
    324     workdir: meson.current_build_dir(),
    325     suite: ['testing', 'integrationtests'],
    326     is_parallel: false,
    327 )
    328 
    329 
    330 
    331 test_bank_api_with_fakebank = executable(
    332     'test_bank_api_with_fakebank',
    333     ['test_bank_api.c'],
    334     dependencies: [
    335         libtalertesting_dep,
    336         libtalerexchange_dep,
    337         libtalerbank_dep,
    338         gnunetutil_dep,
    339     ],
    340     include_directories: [incdir, configuration_inc],
    341     build_by_default: false,
    342     install: false,
    343 )
    344 test(
    345     'test_bank_api_with_fakebank',
    346     test_bank_api_with_fakebank,
    347     workdir: meson.current_build_dir(),
    348     suite: ['testing', 'integrationtests'],
    349     is_parallel: false,
    350 )
    351 
    352 
    353 test_exchange_api_cs = executable(
    354     'test_exchange_api_cs',
    355     ['test_exchange_api.c'],
    356     dependencies: [
    357         libtalertesting_dep,
    358         libtalerexchange_dep,
    359         libtalerbank_dep,
    360         libtalerfakebank_dep,
    361         libtalerjson_dep,
    362         libtalerutil_dep,
    363         libtalerextensions_dep,
    364         json_dep,
    365         gcrypt_dep,
    366         gnunetutil_dep,
    367         gnunetcurl_dep,
    368     ],
    369     include_directories: [incdir, configuration_inc],
    370     build_by_default: false,
    371     install: false,
    372 )
    373 test(
    374     'test_exchange_api_cs',
    375     test_exchange_api_cs,
    376     workdir: meson.current_build_dir(),
    377     suite: ['testing', 'integrationtests'],
    378     is_parallel: false,
    379 )
    380 
    381 
    382 test_exchange_api_rsa = executable(
    383     'test_exchange_api_rsa',
    384     ['test_exchange_api.c'],
    385     dependencies: [
    386         libtalertesting_dep,
    387         libtalerexchange_dep,
    388         libtalerextensions_dep,
    389         libtalerbank_dep,
    390         libtalerfakebank_dep,
    391         libtalerjson_dep,
    392         libtalerutil_dep,
    393         json_dep,
    394         gcrypt_dep,
    395         gnunetutil_dep,
    396         gnunetcurl_dep,
    397     ],
    398     include_directories: [incdir, configuration_inc],
    399     build_by_default: false,
    400     install: false,
    401 )
    402 test(
    403     'test_exchange_api_rsa',
    404     test_exchange_api_rsa,
    405     workdir: meson.current_build_dir(),
    406     suite: ['testing', 'integrationtests'],
    407     is_parallel: false,
    408 )
    409 
    410 
    411 
    412 test_exchange_api_age_restriction_cs = executable(
    413     'test_exchange_api_age_restriction_cs',
    414     ['test_exchange_api_age_restriction.c'],
    415     dependencies: [
    416         libtalertesting_dep,
    417         libtalerexchange_dep,
    418         libtalerextensions_dep,
    419         libtalerbank_dep,
    420         libtalerfakebank_dep,
    421         libtalerjson_dep,
    422         libtalerutil_dep,
    423         json_dep,
    424         gcrypt_dep,
    425         gnunetutil_dep,
    426         gnunetcurl_dep,
    427     ],
    428     include_directories: [incdir, configuration_inc],
    429     build_by_default: false,
    430     install: false,
    431 )
    432 test(
    433     'test_exchange_api_age_restriction_cs',
    434     test_exchange_api_age_restriction_cs,
    435     workdir: meson.current_build_dir(),
    436     suite: ['testing', 'integrationtests'],
    437     is_parallel: false,
    438 )
    439 
    440 
    441 test_exchange_api_age_restriction_rsa = executable(
    442     'test_exchange_api_age_restriction_rsa',
    443     ['test_exchange_api_age_restriction.c'],
    444     dependencies: [
    445         libtalertesting_dep,
    446         libtalerexchange_dep,
    447         libtalerextensions_dep,
    448         libtalerbank_dep,
    449         libtalerfakebank_dep,
    450         libtalerjson_dep,
    451         libtalerutil_dep,
    452         json_dep,
    453         gcrypt_dep,
    454         gnunetutil_dep,
    455         gnunetcurl_dep,
    456     ],
    457     include_directories: [incdir, configuration_inc],
    458     build_by_default: false,
    459     install: false,
    460 )
    461 test(
    462     'test_exchange_api_age_restriction_rsa',
    463     test_exchange_api_age_restriction_rsa,
    464     workdir: meson.current_build_dir(),
    465     suite: ['testing', 'integrationtests'],
    466     is_parallel: false,
    467 )
    468 
    469 
    470 test_exchange_api_p2p_cs = executable(
    471     'test_exchange_p2p_cs',
    472     ['test_exchange_p2p.c'],
    473     dependencies: [
    474         libtalertesting_dep,
    475         libtalerexchange_dep,
    476         libtalerextensions_dep,
    477         libtalerbank_dep,
    478         libtalerfakebank_dep,
    479         libtalerjson_dep,
    480         libtalerutil_dep,
    481         json_dep,
    482         gcrypt_dep,
    483         gnunetutil_dep,
    484         gnunetcurl_dep,
    485     ],
    486     include_directories: [incdir, configuration_inc],
    487     build_by_default: false,
    488     install: false,
    489 )
    490 test(
    491     'test_exchange_api_p2p_cs',
    492     test_exchange_api_p2p_cs,
    493     workdir: meson.current_build_dir(),
    494     suite: ['testing', 'integrationtests'],
    495     is_parallel: false,
    496 )
    497 
    498 
    499 test_exchange_api_p2p_rsa = executable(
    500     'test_exchange_p2p_rsa',
    501     ['test_exchange_p2p.c'],
    502     dependencies: [
    503         libtalertesting_dep,
    504         libtalerexchange_dep,
    505         libtalerextensions_dep,
    506         libtalerbank_dep,
    507         libtalerfakebank_dep,
    508         libtalerjson_dep,
    509         libtalerutil_dep,
    510         json_dep,
    511         gcrypt_dep,
    512         gnunetutil_dep,
    513         gnunetcurl_dep,
    514     ],
    515     include_directories: [incdir, configuration_inc],
    516     build_by_default: false,
    517     install: false,
    518 )
    519 test(
    520     'test_exchange_api_p2p_rsa',
    521     test_exchange_api_p2p_rsa,
    522     workdir: meson.current_build_dir(),
    523     suite: ['testing', 'integrationtests'],
    524     is_parallel: false,
    525 )
    526 
    527 
    528 test_exchange_api_keys_cherry_picking_cs = executable(
    529     'test_exchange_api_keys_cherry_picking_cs',
    530     ['test_exchange_api_keys_cherry_picking.c'],
    531     dependencies: [
    532         libtalertesting_dep,
    533         libtalerexchange_dep,
    534         libtalerbank_dep,
    535         libtalerjson_dep,
    536         libtalerutil_dep,
    537         json_dep,
    538         gcrypt_dep,
    539         gnunetutil_dep,
    540         gnunetcurl_dep,
    541     ],
    542     include_directories: [incdir, configuration_inc],
    543     build_by_default: false,
    544     install: false,
    545 )
    546 test(
    547     'test_exchange_api_keys_cherry_picking_cs',
    548     test_exchange_api_keys_cherry_picking_cs,
    549     workdir: meson.current_build_dir(),
    550     suite: ['testing', 'integrationtests'],
    551     is_parallel: false,
    552 )
    553 
    554 
    555 test_exchange_api_keys_cherry_picking_rsa = executable(
    556     'test_exchange_api_keys_cherry_picking_rsa',
    557     ['test_exchange_api_keys_cherry_picking.c'],
    558     dependencies: [
    559         libtalertesting_dep,
    560         libtalerexchange_dep,
    561         libtalerbank_dep,
    562         libtalerjson_dep,
    563         libtalerutil_dep,
    564         json_dep,
    565         gcrypt_dep,
    566         gnunetutil_dep,
    567         gnunetcurl_dep,
    568     ],
    569     include_directories: [incdir, configuration_inc],
    570     build_by_default: false,
    571     install: false,
    572 )
    573 test(
    574     'test_exchange_api_keys_cherry_picking_rsa',
    575     test_exchange_api_keys_cherry_picking_rsa,
    576     workdir: meson.current_build_dir(),
    577     suite: ['testing', 'integrationtests'],
    578     is_parallel: false,
    579 )
    580 
    581 
    582 
    583 ## FIXME_9828
    584 ## test_exchange_api_revocation_cs_SOURCES = \
    585 ##   test_exchange_api_revocation.c
    586 ## test_exchange_api_revocation_cs_LDADD = \
    587 ##   libtalertesting.la \
    588 ##   $(top_builddir)/src/lib/libtalerexchange.la \
    589 ##   $(LIBGCRYPT_LIBS) \
    590 ##   $(top_builddir)/src/bank-lib/libtalerfakebank.la \
    591 ##   $(top_builddir)/src/bank-lib/libtalerbank.la \
    592 ##   $(top_builddir)/src/json/libtalerjson.la \
    593 ##   $(top_builddir)/src/util/libtalerutil.la \
    594 ##   -lgnunetcurl \
    595 ##   -lgnunetutil \
    596 ##   -ljansson \
    597 ##   $(XLIB)
    598 #
    599 ## FIXME_9828
    600 ## test_exchange_api_revocation_rsa_SOURCES = \
    601 ##   test_exchange_api_revocation.c
    602 ## test_exchange_api_revocation_rsa_LDADD = \
    603 ##   libtalertesting.la \
    604 ##   $(top_builddir)/src/lib/libtalerexchange.la \
    605 ##   $(LIBGCRYPT_LIBS) \
    606 ##   $(top_builddir)/src/bank-lib/libtalerfakebank.la \
    607 ##   $(top_builddir)/src/bank-lib/libtalerbank.la \
    608 ##   $(top_builddir)/src/json/libtalerjson.la \
    609 ##   $(top_builddir)/src/util/libtalerutil.la \
    610 ##   -lgnunetcurl \
    611 ##   -lgnunetutil \
    612 ##   -ljansson \
    613 ##   $(XLIB)
    614 
    615 test_exchange_api_overlapping_keys_bug_rsa = executable(
    616     'test_exchange_api_overlapping_keys_bug_rsa',
    617     ['test_exchange_api_overlapping_keys_bug.c'],
    618     dependencies: [
    619         libtalertesting_dep,
    620         libtalerexchange_dep,
    621         libtalerbank_dep,
    622         libtalerjson_dep,
    623         libtalerutil_dep,
    624         json_dep,
    625         gcrypt_dep,
    626         gnunetutil_dep,
    627         gnunetcurl_dep,
    628     ],
    629     include_directories: [incdir, configuration_inc],
    630     build_by_default: false,
    631     install: false,
    632 )
    633 test(
    634     'test_exchange_api_overlapping_keys_bug_rsa',
    635     test_exchange_api_overlapping_keys_bug_rsa,
    636     workdir: meson.current_build_dir(),
    637     suite: ['testing', 'integrationtests'],
    638     is_parallel: false,
    639 )
    640 
    641 
    642 test_exchange_api_overlapping_keys_bug_cs = executable(
    643     'test_exchange_api_overlapping_keys_bug_cs',
    644     ['test_exchange_api_overlapping_keys_bug.c'],
    645     dependencies: [
    646         libtalertesting_dep,
    647         libtalerexchange_dep,
    648         libtalerbank_dep,
    649         libtalerjson_dep,
    650         libtalerutil_dep,
    651         json_dep,
    652         gcrypt_dep,
    653         gnunetutil_dep,
    654         gnunetcurl_dep,
    655     ],
    656     include_directories: [incdir, configuration_inc],
    657     build_by_default: false,
    658     install: false,
    659 )
    660 test(
    661     'test_exchange_api_overlapping_keys_bug_cs',
    662     test_exchange_api_overlapping_keys_bug_cs,
    663     workdir: meson.current_build_dir(),
    664     suite: ['testing', 'integrationtests'],
    665     is_parallel: false,
    666 )
    667 
    668 
    669 test_exchange_management_api_cs = executable(
    670     'test_exchange_management_api_cs',
    671     ['test_exchange_management_api.c'],
    672     dependencies: [
    673         libtalertesting_dep,
    674         libtalerexchange_dep,
    675         libtalerutil_dep,
    676         gnunetutil_dep,
    677     ],
    678     include_directories: [incdir, configuration_inc],
    679     build_by_default: false,
    680     install: false,
    681 )
    682 test(
    683     'test_exchange_management_api_cs',
    684     test_exchange_management_api_cs,
    685     workdir: meson.current_build_dir(),
    686     suite: ['testing', 'integrationtests'],
    687     is_parallel: false,
    688 )
    689 
    690 test_exchange_management_api_rsa = executable(
    691     'test_exchange_management_api_rsa',
    692     ['test_exchange_management_api.c'],
    693     dependencies: [
    694         libtalertesting_dep,
    695         libtalerexchange_dep,
    696         libtalerutil_dep,
    697         gnunetutil_dep,
    698     ],
    699     include_directories: [incdir, configuration_inc],
    700     build_by_default: false,
    701     install: false,
    702 )
    703 test(
    704     'test_exchange_management_api_rsa',
    705     test_exchange_management_api_rsa,
    706     workdir: meson.current_build_dir(),
    707     suite: ['testing', 'integrationtests'],
    708     is_parallel: false,
    709 )
    710 
    711 
    712 test_taler_exchange_aggregator_postgres = executable(
    713     'test_taler_exchange_aggregator-postgres',
    714     ['test_taler_exchange_aggregator.c'],
    715     dependencies: [
    716         libtalertesting_dep,
    717         libtalerfakebank_dep,
    718         libtalerjson_dep,
    719         libtalerexchangedb_dep,
    720         libtalerutil_dep,
    721         gnunetutil_dep,
    722         gnunetjson_dep,
    723         json_dep,
    724         mhd_dep,
    725         gcrypt_dep,
    726     ],
    727     include_directories: [incdir, configuration_inc],
    728     build_by_default: false,
    729     install: false,
    730 )
    731 test(
    732     'test_taler_exchange_aggregator_postgres',
    733     test_taler_exchange_aggregator_postgres,
    734     workdir: meson.current_build_dir(),
    735     suite: ['testing', 'integrationtests'],
    736     is_parallel: false,
    737 )
    738 
    739 
    740 test_taler_exchange_wirewatch_postgres = executable(
    741     'test_taler_exchange_wirewatch-postgres',
    742     ['test_taler_exchange_wirewatch.c'],
    743     dependencies: [
    744         libtalertesting_dep,
    745         libtalerfakebank_dep,
    746         libtalerjson_dep,
    747         libtalerexchangedb_dep,
    748         libtalerutil_dep,
    749         gnunetutil_dep,
    750         gnunetjson_dep,
    751         gnunetpq_dep,
    752         pq_dep,
    753         json_dep,
    754         mhd_dep,
    755         gcrypt_dep,
    756     ],
    757     include_directories: [incdir, configuration_inc],
    758     build_by_default: false,
    759     install: false,
    760 )
    761 test(
    762     'test_taler_exchange_wirewatch_postgres',
    763     test_taler_exchange_wirewatch_postgres,
    764     workdir: meson.current_build_dir(),
    765     suite: ['testing', 'integrationtests'],
    766     is_parallel: false,
    767 )
    768 
    769 
    770 if twister_dep.found()
    771 
    772     test_exchange_api_twisted_cs = executable(
    773         'test_exchange_api_twisted_cs',
    774         ['test_exchange_api_twisted.c'],
    775         dependencies: [
    776             libtalertwistertesting_dep,
    777             libtalertesting_dep,
    778             libtalerbank_dep,
    779             libtalerfakebank_dep,
    780             libtalerjson_dep,
    781             libtalerexchange_dep,
    782             libtalerutil_dep,
    783             twister_dep,
    784             gnunetutil_dep,
    785             gnunetjson_dep,
    786             gnunetpq_dep,
    787             json_dep,
    788             gcrypt_dep,
    789         ],
    790         include_directories: [incdir, configuration_inc],
    791         build_by_default: false,
    792         install: false,
    793     )
    794     test(
    795         'test_exchange_api_twisted_cs',
    796         test_exchange_api_twisted_cs,
    797         workdir: meson.current_build_dir(),
    798         suite: ['testing', 'integrationtests'],
    799         is_parallel: false,
    800     )
    801 
    802 
    803     test_exchange_api_twisted_rsa = executable(
    804         'test_exchange_api_twisted_rsa',
    805         ['test_exchange_api_twisted.c'],
    806         dependencies: [
    807             libtalertwistertesting_dep,
    808             libtalertesting_dep,
    809             libtalerbank_dep,
    810             libtalerfakebank_dep,
    811             libtalerjson_dep,
    812             libtalerexchange_dep,
    813             libtalerutil_dep,
    814             twister_dep,
    815             gnunetutil_dep,
    816             gnunetjson_dep,
    817             gnunetpq_dep,
    818             json_dep,
    819             gcrypt_dep,
    820         ],
    821         include_directories: [incdir, configuration_inc],
    822         build_by_default: false,
    823         install: false,
    824     )
    825     test(
    826         'test_exchange_api_twisted_rsa',
    827         test_exchange_api_twisted_rsa,
    828         workdir: meson.current_build_dir(),
    829         suite: ['testing', 'integrationtests'],
    830         is_parallel: false,
    831     )
    832 
    833 
    834     test_bank_api_twisted = executable(
    835         'test_bank_api_with_fakebank_twisted',
    836         ['test_bank_api_twisted.c'],
    837         dependencies: [
    838             libtalertwistertesting_dep,
    839             libtalertesting_dep,
    840             libtalerbank_dep,
    841             libtalerfakebank_dep,
    842             libtalerjson_dep,
    843             libtalerexchange_dep,
    844             libtalerutil_dep,
    845             twister_dep,
    846             gnunetutil_dep,
    847             gnunetjson_dep,
    848             gnunetpq_dep,
    849             json_dep,
    850         ],
    851         include_directories: [incdir, configuration_inc],
    852         build_by_default: false,
    853         install: false,
    854     )
    855     test(
    856         'test_bank_api_twisted',
    857         test_bank_api_twisted,
    858         workdir: meson.current_build_dir(),
    859         suite: ['testing', 'integrationtests'],
    860         is_parallel: false,
    861     )
    862 endif
    863 
    864 
    865 test_kyc_api = executable(
    866     'test_kyc_api',
    867     ['test_kyc_api.c'],
    868     dependencies: [
    869         libtalertesting_dep,
    870         libtalerauditor_dep,
    871         libtalerfakebank_dep,
    872         libtalerbank_dep,
    873         libtalerjson_dep,
    874         libtalerexchange_dep,
    875         libtalerexchangedb_dep,
    876         libtalerutil_dep,
    877         twister_dep,
    878         gnunetutil_dep,
    879         gnunetcurl_dep,
    880         json_dep,
    881         gcrypt_dep,
    882     ],
    883     include_directories: [incdir, configuration_inc],
    884     build_by_default: false,
    885     install: false,
    886 )
    887 test(
    888     'test_kyc_api',
    889     test_kyc_api,
    890     workdir: meson.current_build_dir(),
    891     suite: ['testing', 'integrationtests'],
    892     is_parallel: false,
    893 )
    894 
    895 
    896 
    897 ## Distribution
    898 
    899 EXTRA_DIST = [
    900     'valgrind.h',
    901     'coins-cs.conf',
    902     'coins-rsa.conf',
    903     'sanction-list.json',
    904     'test_auditor_api-cs.conf',
    905     'test_auditor_api-rsa.conf',
    906     'test_auditor_api_expire_reserve_now-cs.conf',
    907     'test_auditor_api_expire_reserve_now-rsa.conf',
    908     'test_bank_api.conf',
    909     'test_bank_api_fakebank.conf',
    910     'test_bank_api_fakebank_twisted.conf',
    911     'test_bank_api_nexus.conf',
    912     'test_exchange_api.conf',
    913     'test_exchange_api-cs.conf',
    914     'test_exchange_api-rsa.conf',
    915     'test_exchange_api_age_restriction.conf',
    916     'test_exchange_api_age_restriction-cs.conf',
    917     'test_exchange_api_age_restriction-rsa.conf',
    918     'test_exchange_api-twisted.conf',
    919     'test_exchange_api_twisted-cs.conf',
    920     'test_exchange_api_twisted-rsa.conf',
    921     'test_exchange_api_keys_cherry_picking.conf',
    922     'test_exchange_api_keys_cherry_picking-cs.conf',
    923     'test_exchange_api_keys_cherry_picking-rsa.conf',
    924     'test_exchange_api_expire_reserve_now-cs.conf',
    925     'test_exchange_api_expire_reserve_now-rsa.conf',
    926     'test-taler-exchange-aggregator-postgres.conf',
    927     'test-taler-exchange-wirewatch-postgres.conf',
    928     'test_kyc_api.conf',
    929 ]
    930 
    931 foreach f : EXTRA_DIST
    932     configure_file(input: f, output: f, copy: true)
    933 endforeach
    934 
    935 subdir(
    936     'test_exchange_api_home' / '.local' / 'share' / 'taler-auditor' / 'offline-keys',
    937 )
    938 subdir(
    939     'test_exchange_api_home' / '.local' / 'share' / 'taler-exchange' / 'offline',
    940 )