Tests: turn off liblinphone logs so that Jenkins can parse output without being messed up

This commit is contained in:
Gautier Pelloux-Prayer 2016-05-30 10:22:07 +02:00
parent a86ce4d37f
commit 58dc05c87e
2 changed files with 6 additions and 0 deletions

View file

@ -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");

View file

@ -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];