forked from mirrors/linphone-iphone
Tests: turn off liblinphone logs so that Jenkins can parse output without being messed up
This commit is contained in:
parent
a86ce4d37f
commit
58dc05c87e
2 changed files with 6 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue