f_bWriting_CUNIT_RUN_SUITE = FALSE;
f_bWriting_CUNIT_RUN_SUITE = CU_FALSE;
void CU_automated_run_tests(void){  CU_pTestRegistry pRegistry = CU_get_registry();  /* Ensure output makes it to screen at the moment of a SIGSEGV. */  setvbuf(stdout, NULL, _IONBF, 0);  setvbuf(stderr, NULL, _IONBF, 0);  /* if a filename root hasn't been set, use the default one */  if (0 == strlen(f_szTestResultFileName))    CU_set_output_filename(f_szDefaultFileRoot);  if (initialize_result_file(f_szTestResultFileName)) {    fprintf(stderr, "\nERROR - Failed to create/initialize the result file.");  }  else {    if (pRegistry) {      /* set up the message handlers for writing xml output */      CU_set_test_start_handler(automated_test_start_message_handler);      CU_set_test_complete_handler(automated_test_complete_message_handler);      CU_set_all_test_complete_handler(automated_all_tests_complete_message_handler);      CU_set_suite_init_failure_handler(automated_suite_init_failure_message_handler);      CU_set_suite_cleanup_failure_handler(automated_suite_cleanup_failure_message_handler);      f_bWriting_CUNIT_RUN_SUITE = FALSE;      automated_run_all_tests(pRegistry);   }    if (uninitialize_result_file()) {      fprintf(stderr, "\nERROR - Failed to close/uninitialize the result files.");    }  }}