[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 01/04: meson: add dht(u) tests
From: |
gnunet |
Subject: |
[gnunet] 01/04: meson: add dht(u) tests |
Date: |
Mon, 16 Oct 2023 21:41:02 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 4edae62ab10dddf8aec302ba96e4a2815bbc41d4
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Oct 16 20:17:46 2023 +0200
meson: add dht(u) tests
---
src/dht/meson.build | 15 +++++++++++++++
src/dhtu/meson.build | 11 +++++++++++
2 files changed, 26 insertions(+)
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',
install: true,
install_dir: get_option('libdir')/'gnunet'/'libexec')
+configure_file(input : 'test_dht_api_data.conf',
+ output : 'test_dht_api_data.conf',
+ copy: true)
+
+testdht_api = executable ('test_dht_api',
+ ['test_dht_api.c'],
+ dependencies: [libgnunetdht_dep,
+ libgnunetutil_dep,
+ libgnunettesting_dep,
+ libgnunethello_dep],
+ include_directories: [incdir, configuration_inc],
+ install: false)
+
+test('test_dht_api', testdht_api, suite: 'dht',
+ workdir: meson.current_build_dir())
diff --git a/src/dhtu/meson.build b/src/dhtu/meson.build
index b024332dd..b2525e782 100644
--- a/src/dhtu/meson.build
+++ b/src/dhtu/meson.build
@@ -48,3 +48,14 @@ shared_module('gnunet_plugin_dhtu_gnunet',
install: true,
install_dir: get_option('libdir')/'gnunet')
+testdhtu_ip = executable('test_dhtu_ip',
+ ['test_dhtu_ip.c'],
+ dependencies: [libgnunetutil_dep,
+ libgnunettesting_dep],
+ include_directories: [incdir, configuration_inc],
+ install: false)
+
+test('test_dhtu_ip', testdhtu_ip, suite: 'dhtu',
+ workdir: meson.current_build_dir())
+
+
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.