Skip to content

Commit

Permalink
LinphoneTester_Tests.m: turn off logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bagage committed Jun 16, 2016
1 parent 18818a3 commit abbaf92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions TestsLiblinphone/LinphoneTester_Tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ + (NSString *)safetyTestString:(NSString *)testString {
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);
Expand Down

0 comments on commit abbaf92

Please sign in to comment.