From 5da14be7cc7893f83595bb017065814c335c6e20 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Mon, 1 Dec 2014 15:07:05 +0100 Subject: [PATCH] Hard mondays: forgot to set up the file prefix / writable prefix --- LinphoneTester Tests/LinphoneTester_Tests.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LinphoneTester Tests/LinphoneTester_Tests.m b/LinphoneTester Tests/LinphoneTester_Tests.m index 2a1d2a203..23ebc399b 100644 --- a/LinphoneTester Tests/LinphoneTester_Tests.m +++ b/LinphoneTester Tests/LinphoneTester_Tests.m @@ -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