diff --git a/TestsLiblinphone/LinphoneTester_Tests.m b/TestsLiblinphone/LinphoneTester_Tests.m index 08116b83d..0214c98a1 100644 --- a/TestsLiblinphone/LinphoneTester_Tests.m +++ b/TestsLiblinphone/LinphoneTester_Tests.m @@ -38,6 +38,8 @@ void tester_logs_handler(int level, const char *fmt, va_list args) { static char *bundle = NULL; static char *documents = NULL; + // turn off logs since jenkins fails to parse output otherwise. If + // you want to debug a specific test, comment this temporary [Log enableLogs:ORTP_WARNING]; bc_tester_init(tester_logs_handler, ORTP_MESSAGE, ORTP_ERROR, "rcfiles"); diff --git a/TestsUI/LinphoneTestCase.m b/TestsUI/LinphoneTestCase.m index 2f75e3fc1..c4bd1af24 100644 --- a/TestsUI/LinphoneTestCase.m +++ b/TestsUI/LinphoneTestCase.m @@ -31,6 +31,10 @@ - (void)beforeAll { [super beforeAll]; + // turn off logs since jenkins fails to parse output otherwise. If + // you want to debug a specific test, comment this temporary + [Log enableLogs:ORTP_WARNING]; + #if TARGET_IPHONE_SIMULATOR while ([tester acknowledgeSystemAlert]) { [tester waitForTimeInterval:.5f];