Destination directory is not needed during simulation

Shots are not needed in this mode too.
This commit is contained in:
Daniel Zaoui 2016-10-10 10:42:23 +03:00
parent 0eb607e7df
commit 33730b5dcd
2 changed files with 6 additions and 4 deletions

View File

@ -31,8 +31,6 @@ _run_command_prepare(const List_Entry *ent, Run_Mode mode, char *buf)
{
case RUN_SIMULATION:
{
eina_strbuf_append_printf(sbuf, "TSUITE_DEST_DIR='%s' ",
exactness_config.dest_dir);
break;
}
case RUN_PLAY:
@ -55,6 +53,7 @@ _run_command_prepare(const List_Entry *ent, Run_Mode mode, char *buf)
exactness_config.dest_dir);
break;
}
default: break;
}
eina_strbuf_append_printf(sbuf, "LD_PRELOAD='%s/exactness/libexactness_%s.so' %s %s %s",
PACKAGE_LIBDIR, mode == RUN_RECORD ? "recorder" : "player",

View File

@ -459,8 +459,11 @@ tsuite_feed_event(void *data)
printf("%s take shot timestamp=<%u> t->n_evas=<%d>\n", __func__, t->timestamp, t->n_evas);
#endif
if (rect) evas_object_color_set(rect, 0, 0, 255, 255);
_shot_do(NULL,
eina_list_nth(evas_list, t->n_evas)); /* Serial name based on test-name */
if (_hook_setting->dest_dir)
{
_shot_do(NULL,
eina_list_nth(evas_list, t->n_evas)); /* Serial name based on test-name */
}
break;
}
default: /* All non-input events are not handeled */