[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: meson: add conversation tests
From: |
gnunet |
Subject: |
[gnunet] branch master updated: meson: add conversation tests |
Date: |
Sun, 15 Oct 2023 12:03:47 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new b0a7ddd39 meson: add conversation tests
b0a7ddd39 is described below
commit b0a7ddd39b8c5c29f672dd269bf0077715947ba6
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sun Oct 15 12:03:43 2023 +0200
meson: add conversation tests
---
src/conversation/meson.build | 85 +++++++++++++++++++++++++++++++++++++-------
1 file changed, 72 insertions(+), 13 deletions(-)
diff --git a/src/conversation/meson.build b/src/conversation/meson.build
index 824a850d1..b3fb070d9 100644
--- a/src/conversation/meson.build
+++ b/src/conversation/meson.build
@@ -118,17 +118,76 @@ executable ('gnunet-helper-audio-record',
install_dir: get_option('libdir') / 'gnunet' / 'libexec')
executable ('gnunet-helper-audio-playback',
- helperplayback_src,
- dependencies: [libgnunetconversation_dep,
- libgnunetutil_dep,
- libgnunetspeaker_dep,
- libgnunetmicrophone_dep,
- gst_dep,
- ogg_dep,
- pulse_dep,
- opus_dep
- ],
- include_directories: [incdir, configuration_inc],
- install: true,
- install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+ helperplayback_src,
+ dependencies: [libgnunetconversation_dep,
+ libgnunetutil_dep,
+ libgnunetspeaker_dep,
+ libgnunetmicrophone_dep,
+ gst_dep,
+ ogg_dep,
+ pulse_dep,
+ opus_dep
+ ],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+testconvapi = executable ('test_conversation_api',
+ ['test_conversation_api.c'],
+ dependencies: [libgnunetconversation_dep,
+ libgnunetutil_dep,
+ libgnunetidentity_dep,
+ libgnunettesting_dep,
+ libgnunetgnsrecord_dep,
+ libgnunetnamestore_dep,
+ libgnunetspeaker_dep,
+ libgnunetmicrophone_dep,
+ ],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+testconvapitwo = executable ('test_conversation_api_twocalls',
+ ['test_conversation_api_twocalls.c'],
+ dependencies: [libgnunetconversation_dep,
+ libgnunetutil_dep,
+ libgnunetidentity_dep,
+ libgnunettesting_dep,
+ libgnunetgnsrecord_dep,
+ libgnunetnamestore_dep,
+ libgnunetspeaker_dep,
+ libgnunetmicrophone_dep,
+ ],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+testconvapireject = executable ('test_conversation_api_reject',
+ ['test_conversation_api_reject.c'],
+ dependencies: [libgnunetconversation_dep,
+ libgnunetutil_dep,
+ libgnunetidentity_dep,
+ libgnunettesting_dep,
+ libgnunetgnsrecord_dep,
+ libgnunetnamestore_dep,
+ libgnunetspeaker_dep,
+ libgnunetmicrophone_dep,
+ ],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+configure_file(input : 'test_conversation.conf',
+ output : 'test_conversation.conf',
+ copy: true,
+ install: false)
+
+test('test_conversation_api', testconvapi, workdir: meson.current_build_dir(),
+ suite: 'conversation')
+
+test('test_conversation_api_twocalls', testconvapitwo, workdir:
meson.current_build_dir(),
+ suite: 'conversation')
+
+test('test_conversation_api_reject', testconvapireject, workdir:
meson.current_build_dir(),
+ suite: 'conversation')
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: meson: add conversation tests,
gnunet <=