Replace old MSG_STORAGE_ENABLED and CALL_LOGS_STORAGE_ENABLED by SQL_STORAGE_ENABLED

This commit is contained in:
Sylvain Berfini 2016-06-14 11:10:00 +02:00
parent 54767c23cc
commit 5aa18ce2f9
2 changed files with 3 additions and 4 deletions

View file

@ -5994,7 +5994,7 @@ end:
}
#ifdef CALL_LOGS_STORAGE_ENABLED
#ifdef SQLITE_STORAGE_ENABLED
static void call_logs_if_no_db_set(void) {
LinphoneCoreManager* marie = linphone_core_manager_new("marie_rc");
@ -6630,7 +6630,7 @@ test_t call_tests[] = {
TEST_NO_TAG("Call with RTP IO mode", call_with_rtp_io_mode),
TEST_NO_TAG("Call with generic NACK RTCP feedback", call_with_generic_nack_rtcp_feedback),
TEST_NO_TAG("Call with complex late offering", call_with_complex_late_offering),
#ifdef CALL_LOGS_STORAGE_ENABLED
#ifdef SQLITE_STORAGE_ENABLED
TEST_NO_TAG("Call log working if no db set", call_logs_if_no_db_set),
TEST_NO_TAG("Call log storage migration from rc to db", call_logs_migrate),
TEST_NO_TAG("Call log storage in sqlite database", call_logs_sqlite_storage),

View file

@ -23,7 +23,7 @@
#include "liblinphone_tester.h"
#include "lime.h"
#ifdef MSG_STORAGE_ENABLED
#ifdef SQLITE_STORAGE_ENABLED
#include <sqlite3.h>
#endif
@ -1129,7 +1129,6 @@ static void lime_unit(void) {
#endif /* HAVE_LIME */
/*
* Copy file "from" to file "to".
* Destination file is truncated if existing.