exactness: Added message notifying about rec file error

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66371
devs/tasn/jenkins
Aharon Hillel 11 years ago committed by Tom Hacohen
parent 21b1c61796
commit 979d50831d
  1. 14
      src/lib/tsuite_file_data.c

@ -53,10 +53,18 @@ write_events(const char *filename, Lists_st *vr_list)
{
_data_descriptors_init();
Eet_File *fp = eet_open(filename, EET_FILE_MODE_WRITE);
eet_data_write(fp, desc->_lists_descriptor, CACHE_FILE_ENTRY, vr_list,
EINA_TRUE);
if (fp)
{
eet_data_write(fp, desc->_lists_descriptor, CACHE_FILE_ENTRY, vr_list,
EINA_TRUE);
eet_close(fp);
}
else
{
printf("Failed to create record file <%s>.\n", filename);
}
eet_close(fp);
_data_descriptors_shutdown();
}

Loading…
Cancel
Save