From abbaf9259d442737928146ef1a96acd95b9bdb5d Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 16 Jun 2016 15:32:30 +0200 Subject: [PATCH] LinphoneTester_Tests.m: turn off logs --- TestsLiblinphone/LinphoneTester_Tests.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TestsLiblinphone/LinphoneTester_Tests.m b/TestsLiblinphone/LinphoneTester_Tests.m index e2303bc97..323d92095 100644 --- a/TestsLiblinphone/LinphoneTester_Tests.m +++ b/TestsLiblinphone/LinphoneTester_Tests.m @@ -22,8 +22,13 @@ NSCharacterSet *charactersToRemove = [[NSCharacterSet alphanumericCharacterSet] invertedSet]; return [[testString componentsSeparatedByCharactersInSet:charactersToRemove] componentsJoinedByString:@"_"]; } +void dummy_logger(const char *domain, OrtpLogLevel lev, const char *fmt, va_list args) { +} + (void)initialize { + // turn off ALL logs because xcodebuild has problems with it + linphone_core_enable_logs_with_cb(dummy_logger); + for (int i = 0; i < bc_tester_nb_suites(); i++) { const char *suite = bc_tester_suite_name(i); LOGE(@"suite = %s", suite);