meson.build (2335B)
1 # This file is in the public domain 2 check_SCRIPTS = [ 3 'test_anastasis_reducer_initialize_state', 4 'test_anastasis_reducer_select_continent', 5 'test_anastasis_reducer_select_country', 6 'test_anastasis_reducer_backup_enter_user_attributes', 7 'test_anastasis_reducer_add_authentication', 8 'test_anastasis_reducer_done_authentication', 9 'test_anastasis_reducer_done_policy_review', 10 'test_anastasis_reducer_enter_secret', 11 'test_anastasis_reducer_recovery_enter_user_attributes', 12 'test_anastasis_reducer_recovery_no_pay', 13 'test_anastasis_reducer_recovery_hanging', 14 ] 15 16 foreach f : check_SCRIPTS 17 t = configure_file( 18 copy: true, 19 input: '@0@.sh'.format(f), 20 output: '@0@.sh'.format(f), 21 ) 22 test( 23 f, 24 t, 25 workdir: meson.current_build_dir(), 26 suite: ['cli'], 27 is_parallel: false, 28 ) 29 endforeach 30 # Removed for now, libeufin is not yet working OK for this. 31 # test_iban.sh 32 33 34 EXTRA_DIST = [ 35 'setup.sh', 36 'test_reducer.conf', 37 'test_reducer_free.conf', 38 'test_free_reducer.conf', 39 'test_anastasis_reducer_1.conf', 40 'test_anastasis_reducer_2.conf', 41 'test_anastasis_reducer_3.conf', 42 'test_anastasis_reducer_4.conf', 43 'test_anastasis_reducer_free_1.conf', 44 'test_anastasis_reducer_free_2.conf', 45 'test_anastasis_reducer_free_3.conf', 46 'test_anastasis_reducer_free_4.conf', 47 ] 48 49 foreach f : EXTRA_DIST 50 configure_file(input: f, output: f, copy: true) 51 endforeach 52 53 subdir('test_reducer_home' / '.local' / 'share' / 'taler' / 'exchange-offline') 54 subdir('resources') 55 56 57 executable( 58 'anastasis-reducer', 59 ['anastasis-cli-redux.c'], 60 dependencies: [ 61 libanastasisutil_dep, 62 libanastasisredux_dep, 63 gnunetutil_dep, 64 gnunetcurl_dep, 65 gnunetjson_dep, 66 json_dep, 67 talerutil_dep, 68 talerjson_dep, 69 ], 70 include_directories: [incdir, configuration_inc], 71 install: true, 72 ) 73 74 executable( 75 'anastasis-discover', 76 ['anastasis-cli-discover.c'], 77 dependencies: [ 78 libanastasisutil_dep, 79 libanastasisredux_dep, 80 gnunetutil_dep, 81 gnunetcurl_dep, 82 gnunetjson_dep, 83 json_dep, 84 talerutil_dep, 85 talerjson_dep, 86 ], 87 include_directories: [incdir, configuration_inc], 88 install: true, 89 ) 90 91