mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Hard mondays: forgot to set up the file prefix / writable prefix
This commit is contained in:
parent
21a242acfe
commit
5da14be7cc
1 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ void LSLog(NSString* fmt, ...){
|
|||
static char * bundle = NULL;
|
||||
static char * documents = NULL;
|
||||
liblinphone_tester_init();
|
||||
|
||||
NSString* bundlePath = [[NSBundle mainBundle] bundlePath];
|
||||
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
|
||||
NSString* documentPath = [paths objectAtIndex:0];
|
||||
|
|
@ -58,6 +59,9 @@ void LSLog(NSString* fmt, ...){
|
|||
LSLog(@"Bundle path: %@", bundlePath);
|
||||
LSLog(@"Document path: %@", documentPath);
|
||||
|
||||
liblinphone_tester_set_fileprefix(bundle);
|
||||
liblinphone_tester_set_writable_dir_prefix(documents);
|
||||
|
||||
int count = liblinphone_tester_nb_test_suites();
|
||||
|
||||
for (int i=0; i<count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue