diff options
Diffstat (limited to 'src/dht/meson.build')
-rw-r--r-- | src/dht/meson.build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/dht/meson.build b/src/dht/meson.build index 02c3cb8f8..ad5b183fa 100644 --- a/src/dht/meson.build +++ b/src/dht/meson.build | |||
@@ -89,3 +89,18 @@ executable ('gnunet-service-dht', | |||
89 | install: true, | 89 | install: true, |
90 | install_dir: get_option('libdir')/'gnunet'/'libexec') | 90 | install_dir: get_option('libdir')/'gnunet'/'libexec') |
91 | 91 | ||
92 | configure_file(input : 'test_dht_api_data.conf', | ||
93 | output : 'test_dht_api_data.conf', | ||
94 | copy: true) | ||
95 | |||
96 | testdht_api = executable ('test_dht_api', | ||
97 | ['test_dht_api.c'], | ||
98 | dependencies: [libgnunetdht_dep, | ||
99 | libgnunetutil_dep, | ||
100 | libgnunettesting_dep, | ||
101 | libgnunethello_dep], | ||
102 | include_directories: [incdir, configuration_inc], | ||
103 | install: false) | ||
104 | |||
105 | test('test_dht_api', testdht_api, suite: 'dht', | ||
106 | workdir: meson.current_build_dir()) | ||