diff options
-rw-r--r-- | src/conversation/Makefile.am | 6 | ||||
-rw-r--r-- | src/conversation/test_conversation_api.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/conversation/Makefile.am b/src/conversation/Makefile.am index 836a61fb4..b9e0c99b6 100644 --- a/src/conversation/Makefile.am +++ b/src/conversation/Makefile.am | |||
@@ -76,12 +76,14 @@ endif | |||
76 | endif | 76 | endif |
77 | 77 | ||
78 | 78 | ||
79 | |||
80 | check_PROGRAMS = \ | 79 | check_PROGRAMS = \ |
81 | test_conversation_api | 80 | test_conversation_api |
82 | 81 | ||
82 | if HAVE_PULSE | ||
83 | if HAVE_OPUS | ||
83 | TESTS = $(check_PROGRAMS) | 84 | TESTS = $(check_PROGRAMS) |
84 | 85 | endif | |
86 | endif | ||
85 | 87 | ||
86 | gnunet_helper_audio_record_SOURCES = \ | 88 | gnunet_helper_audio_record_SOURCES = \ |
87 | gnunet-helper-audio-record.c | 89 | gnunet-helper-audio-record.c |
diff --git a/src/conversation/test_conversation_api.c b/src/conversation/test_conversation_api.c index d18616721..101245c9e 100644 --- a/src/conversation/test_conversation_api.c +++ b/src/conversation/test_conversation_api.c | |||
@@ -48,13 +48,14 @@ check () | |||
48 | }; | 48 | }; |
49 | struct GNUNET_OS_Process *proc; | 49 | struct GNUNET_OS_Process *proc; |
50 | char *path = GNUNET_OS_get_libexec_binary_path ( "gnunet-service-conversation"); | 50 | char *path = GNUNET_OS_get_libexec_binary_path ( "gnunet-service-conversation"); |
51 | |||
51 | if (NULL == path) | 52 | if (NULL == path) |
52 | { | 53 | { |
53 | fprintf (stderr, "Service executable not found `%s'\n", "gnunet-service-conversation"); | 54 | fprintf (stderr, "Service executable not found `%s'\n", "gnunet-service-conversation"); |
54 | return 0; | 55 | return 0; |
55 | } | 56 | } |
56 | proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_ALL, NULL, NULL, | 57 | proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_ALL, NULL, NULL, |
57 | path, | 58 | path, |
58 | "gnunet-service-conversation", | 59 | "gnunet-service-conversation", |
59 | NULL); | 60 | NULL); |
60 | 61 | ||