Commit 5a8163e9 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

tester: fix compilation error on mobile

parent 3211245a
......@@ -205,6 +205,7 @@ static void test_complete_message_handler(const CU_pTest pTest, const CU_pSuite
}
bc_tester_printf(bc_printf_verbosity_info,"%s", result);
free(result);
if (test_suite[suite_index]->after_each) {
test_suite[suite_index]->after_each();
......@@ -334,6 +335,7 @@ void bc_tester_helper(const char *name, const char* additionnal_helper) {
additionnal_helper);
}
#if !defined(BC_TESTER_WINDOWS_PHONE) && !defined(BC_TESTER_WINDOWS_UNIVERSAL) && !defined(__QNX__) && !defined(ANDROID) && !defined(IOS)
static int file_exists(const char* root_path) {
char * res_path = bc_sprintf("%s/common/bc_completion", root_path);
FILE* file = fopen(res_path, "r");
......@@ -344,6 +346,7 @@ static int file_exists(const char* root_path) {
}
return found;
}
#endif
static void detect_res_prefix(const char* prog) {
char* progpath = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment