mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 02:39:22 +00:00
Fix vCard test suite no longer available since last commit
This commit is contained in:
parent
3eeb0974ea
commit
8ac8e1274a
3 changed files with 4 additions and 3 deletions
|
|
@ -896,6 +896,7 @@ if test x$enable_vcard != xfalse; then
|
|||
AC_LANG_C
|
||||
fi
|
||||
if test "$found_vcard" = "yes"; then
|
||||
BELCARD_CFLAGS+=" -DVCARD_ENABLED"
|
||||
enable_vcard=true
|
||||
else
|
||||
if test x$enable_vcard = xtrue; then
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ dist_liblinphone_tester_DATA = tester_hosts messages.db
|
|||
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/coreapi -I$(top_srcdir)/tester/common
|
||||
AM_CFLAGS = -DBC_CONFIG_FILE=\"config.h\" $(STRICT_OPTIONS) $(STRICT_OPTIONS_CC) \
|
||||
-DIN_LINPHONE $(ORTP_CFLAGS) $(MEDIASTREAMER_CFLAGS) $(CUNIT_CFLAGS) \
|
||||
$(BELLESIP_CFLAGS) $(LIBXML2_CFLAGS) $(SQLITE3_CFLAGS)
|
||||
$(BELLESIP_CFLAGS) $(LIBXML2_CFLAGS) $(SQLITE3_CFLAGS) $(BELCARD_CFLAGS)
|
||||
|
||||
if BUILD_GTK_UI
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <time.h>
|
||||
|
||||
#if BUILD_VCARD
|
||||
#ifdef VCARD_ENABLED
|
||||
static char *create_filepath(const char *dir, const char *filename, const char *ext) {
|
||||
return ms_strdup_printf("%s/%s.%s", dir, filename, ext);
|
||||
}
|
||||
|
|
@ -165,7 +165,7 @@ static void friends_sqlite_storage(void) {
|
|||
#endif
|
||||
|
||||
test_t vcard_tests[] = {
|
||||
#if BUILD_VCARD
|
||||
#ifdef VCARD_ENABLED
|
||||
{ "Import / Export friends from vCards", linphone_vcard_import_export_friends_test },
|
||||
{ "Import a lot of friends from vCards", linphone_vcard_import_a_lot_of_friends_test },
|
||||
#ifdef FRIENDS_SQL_STORAGE_ENABLED
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue