Commit cdd4adee authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fix logs in vCard tester

parent ddaa567e
...@@ -75,7 +75,7 @@ static void linphone_vcard_import_a_lot_of_friends_test(void) { ...@@ -75,7 +75,7 @@ static void linphone_vcard_import_a_lot_of_friends_test(void) {
BC_ASSERT_EQUAL(bctbx_list_size(friends), 1000, int, "%i"); // Now that we accept Friends without a SIP URI, the result must be equal to 1000 BC_ASSERT_EQUAL(bctbx_list_size(friends), 1000, int, "%i"); // Now that we accept Friends without a SIP URI, the result must be equal to 1000
elapsed = (double)(end - start); elapsed = (double)(end - start);
ms_error("Imported a thousand of vCards from file in %f seconds", (unsigned int)bctbx_list_size(friends), elapsed / CLOCKS_PER_SEC); ms_message("Imported a thousand of vCards from file in %f seconds", elapsed / CLOCKS_PER_SEC);
lfl = linphone_core_create_friend_list(manager->lc); lfl = linphone_core_create_friend_list(manager->lc);
infile = fopen(import_filepath, "rb"); infile = fopen(import_filepath, "rb");
...@@ -99,7 +99,7 @@ static void linphone_vcard_import_a_lot_of_friends_test(void) { ...@@ -99,7 +99,7 @@ static void linphone_vcard_import_a_lot_of_friends_test(void) {
BC_ASSERT_EQUAL(bctbx_list_size(friends), 1000, int, "%i"); // Now that we accept Friends without a SIP URI, the result must be equal to 1000 BC_ASSERT_EQUAL(bctbx_list_size(friends), 1000, int, "%i"); // Now that we accept Friends without a SIP URI, the result must be equal to 1000
elapsed = (double)(end - start); elapsed = (double)(end - start);
ms_error("Imported a thousand of vCards from buffer in %f seconds", (unsigned int)bctbx_list_size(friends), elapsed / CLOCKS_PER_SEC); ms_message("Imported a thousand of vCards from buffer in %f seconds", elapsed / CLOCKS_PER_SEC);
linphone_friend_list_unref(lfl); linphone_friend_list_unref(lfl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment