mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
TestsLiblinphone: turn off logs totally when runnig automated tests on real device, so that xcodebuild has a chance to parse results correctly
This commit is contained in:
parent
ff482c8733
commit
e5c06254cc
1 changed files with 7 additions and 3 deletions
|
|
@ -35,9 +35,13 @@ void tester_logs_handler(int level, const char *fmt, va_list args) {
|
|||
}
|
||||
|
||||
+ (void)initialize {
|
||||
// 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
|
||||
[Log enableLogs:ORTP_DEBUG];
|
||||
#else
|
||||
// turn off logs since xcodebuild fails to retrieve whole output otherwise on
|
||||
// real device. If you need to debug, comment this line temporary
|
||||
[Log enableLogs:NO];
|
||||
#endif
|
||||
|
||||
bc_tester_init(tester_logs_handler, ORTP_MESSAGE, ORTP_ERROR, "rcfiles");
|
||||
liblinphone_tester_add_suites();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue